summaryrefslogtreecommitdiffstats
path: root/hivex
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-02-05 12:57:53 +0000
committerRichard Jones <rjones@redhat.com>2010-02-19 15:01:34 +0000
commit982b00ba7ba1ef69ffc09cbbce7ea69aef48bcd4 (patch)
tree5136899c8f84e3f84a4480cd4b771e5d5fe437e6 /hivex
parentcae0d4d698bb79f3088b256b52ee99cb4637d615 (diff)
downloadhivex-982b00ba7ba1ef69ffc09cbbce7ea69aef48bcd4.tar.gz
hivex-982b00ba7ba1ef69ffc09cbbce7ea69aef48bcd4.tar.xz
hivex-982b00ba7ba1ef69ffc09cbbce7ea69aef48bcd4.zip
hivexsh: Remove unused variable.
This removes an unused variable left over by commit ab608f3948d903af64e814b2e67949a1a71d93a4.
Diffstat (limited to 'hivex')
-rw-r--r--hivex/hivexsh.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hivex/hivexsh.c b/hivex/hivexsh.c
index 9c54536..00f33ae 100644
--- a/hivex/hivexsh.c
+++ b/hivex/hivexsh.c
@@ -858,7 +858,6 @@ cmd_setval (char *nrvals_str)
/* Read nrvals * 2 lines of input, nrvals * (key, value) pairs, as
* explained in the man page.
*/
- int prompt = isatty (0) ? 2 : 0;
int i, j;
for (i = 0; i < nrvals; ++i) {
/* Read key. */