dtimsstart: Resolve 3 compiler warnings.
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
*/
|
||||
/* @(#)$XConsortium: util.c /main/6 1996/07/12 15:44:21 pascale $ */
|
||||
|
||||
#include <time.h>
|
||||
#include <DtHelp/LocaleXlate.h> /* for locale equivalence between platforms */
|
||||
#include "xims.h"
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -320,7 +320,7 @@ int clear_cmd_property(win) /* clear WM_COMMAND property */
|
||||
ret = XGetCommand(Dpy, win, &av, &ac);
|
||||
if (ret && ac > 0) {
|
||||
XFreeStringList(av);
|
||||
XSetCommand(Dpy, win, 0, NULL);
|
||||
XSetCommand(Dpy, win, 0, 0);
|
||||
XSync(Dpy, False);
|
||||
clear_ok = True;
|
||||
DPR2(("\tWM_COMMAND cleared on %#x\n", win));
|
||||
|
||||
Reference in New Issue
Block a user