git.annexia.org
/
hivex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c706da
)
Remove some unused variables.
author
Richard Jones
<rjones@redhat.com>
Mon, 15 Feb 2010 15:55:38 +0000
(15:55 +0000)
committer
Richard Jones
<rjones@redhat.com>
Fri, 19 Feb 2010 15:02:08 +0000
(15:02 +0000)
Since we have to compile with -Wno-unused-variables, we don't
spot unused variables in code. I found these by compiling the
code in Ubuntu.
hivex/hivexsh.c
patch
|
blob
|
history
diff --git
a/hivex/hivexsh.c
b/hivex/hivexsh.c
index
51d8cfb
..
a8ac0e1
100644
(file)
--- a/
hivex/hivexsh.c
+++ b/
hivex/hivexsh.c
@@
-184,7
+184,6
@@
main (int argc, char *argv[])
char *cmd = buf;
char *args;
- size_t i = 0;
if (buf[len] == '\0') {
/* This is mostly safe. Although the cmd_* functions do sometimes