From: Richard Jones Date: Mon, 15 Feb 2010 15:55:38 +0000 (+0000) Subject: Remove some unused variables. X-Git-Tag: 1.1.0~7 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=8b64563dd9e5291e31881c4faea68d9bd0f178ee;p=hivex.git Remove some unused variables. 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. --- diff --git a/hivex/hivexsh.c b/hivex/hivexsh.c index 51d8cfb..a8ac0e1 100644 --- 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