projects
/
platform
/
upstream
/
xmodmap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d427337
)
Dead code removal
author
Jeremy Huddleston
<jeremyhu@apple.com>
Sun, 8 May 2011 04:45:22 +0000
(21:45 -0700)
committer
Jeremy 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
patch
|
blob
|
history
diff --git
a/xmodmap.c
b/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];