summaryrefslogtreecommitdiffstats
path: root/ax25
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-05-07 12:27:45 +0100
committerRalf Baechle <ralf@linux-mips.org>2015-05-07 12:27:45 +0100
commita87ac777a6a4c8b14fac8c151e44b49fceedb3cb (patch)
treedc393c9cd5673a38ba6de89e440e189a93dc808c /ax25
parentba2be6cf9d0dac799f5b132a452f53ab7880d1ac (diff)
axspawn: Remove unused variable command.
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 <ralf@linux-mips.org>
Diffstat (limited to 'ax25')
-rw-r--r--ax25/axspawn.c1
1 files changed, 0 insertions, 1 deletions
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];