diff options
author | okan | 2011-07-25 15:10:24 +0000 |
---|---|---|
committer | okan | 2011-07-25 15:10:24 +0000 |
commit | 02915d130c044aa89ceff108b868c705856a35ca (patch) | |
tree | 819b08241dca0050a75a5ec1af2cc17fb98d8382 /xutil.c | |
parent | 1ef8b9886258d857d0c25c9ab2f5220b4acb8065 (diff) | |
download | cwm-02915d130c044aa89ceff108b868c705856a35ca.tar.gz |
We are inconsistent when it comes to function returns, so just go all
the way with the cwm specific parts.
ok oga@
Diffstat (limited to '')
-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. * - * $OpenBSD: xutil.c,v 1.36 2011/07/23 13:09:11 okan Exp $ + * $OpenBSD: xutil.c,v 1.37 2011/07/25 15:10:24 okan Exp $ */ #include <sys/param.h> @@ -142,7 +142,7 @@ xu_sendmsg(Window win, Atom atm, long val) { XEvent e; - memset(&e, 0, sizeof(e)); + (void)memset(&e, 0, sizeof(e)); e.xclient.type = ClientMessage; e.xclient.window = win; e.xclient.message_type = atm; |