X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=hivex%2Fhivexsh.c;fp=hivex%2Fhivexsh.c;h=00f33ae8fc4e97ba183a32293182f9fb6d34b21a;hp=9c54536afcc742bdcf162949a2aedde0d6d3baf3;hb=495aa36aa67a2d626f1a855a0d01cfd5caa86a26;hpb=3a06848a71f18106fd79f8c73b490eca82d54dfe 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. */