wmmemload: Remove unused variable.

Avoid the following compiler warning:
dockapp.c: In function ‘dockapp_open_window’:
dockapp.c:51:16: warning: variable ‘stat’ set but not used [-Wunused-but-set-variable]
     Status     stat;
                ^
This commit is contained in:
Doug Torrance 2014-10-09 23:50:15 -05:00 committed by Carlos R. Mafra
parent 1604579aef
commit 580fb497e3

View file

@ -48,7 +48,6 @@ dockapp_open_window(char *display_specified, char *appname,
{
XClassHint *classhint;
XWMHints *wmhints;
Status stat;
XTextProperty title;
XSizeHints sizehints;
Window root;
@ -131,7 +130,7 @@ dockapp_open_window(char *display_specified, char *appname,
XSetWMNormalHints(display, icon_window, &sizehints);
/* Set WindowTitle for AfterStep Wharf */
stat = XStringListToTextProperty(&appname, 1, &title);
XStringListToTextProperty(&appname, 1, &title);
XSetWMName(display, window, &title);
XSetWMName(display, icon_window, &title);