summaryrefslogtreecommitdiff
path: root/xmodmap.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-05-07 21:45:22 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-05-07 21:45:22 -0700
commit1f801eea5f4d17b83aee1170423d65a74e01a138 (patch)
tree16d8fce90154e00e88e3ef276c0af727fe505be4 /xmodmap.c
parentd427337286e0a8ac061d5acbc326e7bdb8b056a3 (diff)
Dead code removal
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>
Diffstat (limited to 'xmodmap.c')
-rw-r--r--xmodmap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xmodmap.c b/xmodmap.c
index c984422..4486a4a 100644
--- 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];