[Pkg-wmaker-commits] [wmmemload] 49/103: wmmemload: Remove unused variable.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Mon Aug 24 03:11:44 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmmemload.

commit e0c087a4973b52de93c552761413950a9ca45de3
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Thu Oct 9 23:50:15 2014 -0500

    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;
                    ^
---
 src/dockapp.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/dockapp.c b/src/dockapp.c
index bb500c3..6af3be6 100644
--- a/src/dockapp.c
+++ b/src/dockapp.c
@@ -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);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmmemload.git



More information about the Pkg-wmaker-commits mailing list