From 8dcf1321998522a9a9d4e64bee51441d53dfbdbb Mon Sep 17 00:00:00 2001 From: rlar Date: Thu, 17 May 2012 19:19:37 +0200 Subject: [PATCH] misccoms.c, shrink scope --- src/frontend/misccoms.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/frontend/misccoms.c b/src/frontend/misccoms.c index 333d74fa4..812459f43 100644 --- a/src/frontend/misccoms.c +++ b/src/frontend/misccoms.c @@ -149,8 +149,6 @@ com_bug(wordlist *wl) void com_version(wordlist *wl) { - char *s; - if (!wl) { /* no printout in pipe mode (-p) */ @@ -172,7 +170,7 @@ com_version(wordlist *wl) } else { - s = wl_flatten(wl); + char *s = wl_flatten(wl); if (!strncasecmp(s, "-s", 2)) {