Dead code removal
authorJeremy Huddleston <jeremyhu@apple.com>
Sun, 8 May 2011 04:45:22 +0000 (21:45 -0700)
committerJeremy Huddleston <jeremyhu@apple.com>
Sun, 8 May 2011 04:45:22 +0000 (21:45 -0700)
xmodmap.c:159:5: warning: Value stored to 'status' is never read
    status = 0;
    ^        ~

Found-by: clang static analyzer
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
xmodmap.c

index c984422..4486a4a 100644 (file)
--- a/xmodmap.c
+++ b/xmodmap.c
@@ -156,7 +156,6 @@ main(int argc, char *argv[])
      * the display being open.
      */
 
-    status = 0;
     for (i = 1; i < argc; i++) {
        char *arg = argv[i];