From 495aa36aa67a2d626f1a855a0d01cfd5caa86a26 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 5 Feb 2010 12:57:53 +0000 Subject: [PATCH] hivexsh: Remove unused variable. This removes an unused variable left over by commit ab608f3948d903af64e814b2e67949a1a71d93a4. --- hivex/hivexsh.c | 1 - 1 file changed, 1 deletion(-) 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. */ -- 1.8.3.1