diff options
author | okan | 2010-05-22 22:32:08 +0000 |
---|---|---|
committer | okan | 2010-05-22 22:32:08 +0000 |
commit | ec8920158f9b3603f061c0d354c9b77cb6ec69f7 (patch) | |
tree | c80dd295f71431dc7cf11e93324fdce47d331f11 | |
parent | 8a70adb0c9439e853b0688eecfa1c041c2e20598 (diff) | |
download | cwm-ec8920158f9b3603f061c0d354c9b77cb6ec69f7.tar.gz |
initialize nitems
ok oga@
-rw-r--r-- | xutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: xutil.c,v 1.31 2010/05/22 22:10:31 okan Exp $ + * $Id: xutil.c,v 1.32 2010/05/22 22:32:08 okan Exp $ */ #include <sys/param.h> @@ -155,7 +155,7 @@ int xu_getstrprop(Window win, Atom atm, char **text) { XTextProperty prop; char **list; - int nitems; + int nitems = 0; *text = NULL; |