From a87ac777a6a4c8b14fac8c151e44b49fceedb3cb Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 7 May 2015 12:27:45 +0100 Subject: axspawn: Remove unused variable command. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gcc -DHAVE_CONFIG_H -I. -I.. -DAX25_SYSCONFDIR=\""/usr/local/etc/ax25/"\" -DAX25 _LOCALSTATEDIR=\""/usr/local/var/ax25/"\" -g -O2 -Wall -MT axspawn.o -MD -MP -MF .deps/axspawn.Tpo -c -o axspawn.o axspawn.c [...] axspawn.c:1049:7: warning: unused variable ‘command’ [-Wunused-variable] char command[1024]; ^ [...] Signed-off-by: Ralf Baechle --- ax25/axspawn.c | 1 - 1 file changed, 1 deletion(-) (limited to 'ax25') diff --git a/ax25/axspawn.c b/ax25/axspawn.c index 4b1e410..23d7d34 100644 --- a/ax25/axspawn.c +++ b/ax25/axspawn.c @@ -1046,7 +1046,6 @@ void new_user(char *newuser) { struct passwd pw, *pwp; uid_t uid; - char command[1024]; FILE *fp; char username[80]; char homedir[256], userdir[256]; -- cgit v1.2.3