summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-02-05 12:57:53 +0000
committerRichard Jones <rjones@redhat.com>2010-02-05 12:57:53 +0000
commit495aa36aa67a2d626f1a855a0d01cfd5caa86a26 (patch)
treea72989ad378f23932600e262a4d8abfb50929826
parent3a06848a71f18106fd79f8c73b490eca82d54dfe (diff)
downloadlibguestfs-495aa36aa67a2d626f1a855a0d01cfd5caa86a26.tar.gz
libguestfs-495aa36aa67a2d626f1a855a0d01cfd5caa86a26.tar.xz
libguestfs-495aa36aa67a2d626f1a855a0d01cfd5caa86a26.zip
hivexsh: Remove unused variable.
This removes an unused variable left over by commit ab608f3948d903af64e814b2e67949a1a71d93a4.
-rw-r--r--hivex/hivexsh.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hivex/hivexsh.c b/hivex/hivexsh.c
index 9c54536a..00f33ae8 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. */