This error was reported by Valgrind:
==237870== Conditional jump or move depends on uninitialised value(s)
==237870== at 0x484AF0E: bcmp (vg_replace_strmem.c:1221)
==237870== by 0x40C9DB: update_imgs (div.c:117)
==237870== by 0x40CB4C: div_update_all (div.c:138)
==237870== by 0x420A0F: view_arrange (view.c:611)
==237870== by 0x41F88C: view_update (view.c:337)
==237870== by 0x418B59: message_root (message.c:686)
==237870== by 0x42474D: ixp_srv_writectl (srv_util.c:232)
==237870== by 0x41322E: fs_write (fs.c:513)
==237870== by 0x423462: handlereq (request.c:321)
==237870== by 0x422BFF: handlefcall (request.c:146)
==237870== by 0x4240E8: handle_conns (server.c:118)
==237870== by 0x42424C: ixp_serverloop (server.c:169)
This change fixes the following warnings:
lib/libstuff/x11/keys/parsekey.c:73:2: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations]
cmd/strut/ewmh.c:23:27: warning: ‘sizeof’ on array function parameter ‘struts’ will return size of ‘Rectangle *’ {aka ‘struct Rectangle *’} [-Wsizeof-array-argument]
cmd/wmii/key.c:109:3: warning: ‘XKeycodeToKeysym’ is deprecated [-Wdeprecated-declarations]
cmd/wmii/dat.h:108:7: warning: comparison of constant ‘2’ with boolean expression is always false [-Wbool-compare]