about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMarco Peereboom <marco@conformal.com>2011-08-03 18:05:22 +0000
committerMarco Peereboom <marco@conformal.com>2011-08-03 18:05:22 +0000
commit7ee09680527ff61f7518ba7e5f38936051c8ae9a (patch)
tree8ac312c3bd0ae998c4385c3355dd83428d9ca9b1
parent36c45fe9a14fc61ae0e0c210b9efe48c13358060 (diff)
downloadxombrero-7ee09680527ff61f7518ba7e5f38936051c8ae9a.tar.gz
move a stray variable declaration to the right spot
-rw-r--r--xxxterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xxxterm.c b/xxxterm.c
index 04a319c..95a21e7 100644
--- a/xxxterm.c
+++ b/xxxterm.c
@@ -9234,6 +9234,7 @@ main(int argc, char *argv[])
 	char			conf[PATH_MAX] = { '\0' };
 	char			file[PATH_MAX];
 	char			*env_proxy = NULL;
+	char			*cmd = NULL;
 	FILE			*f = NULL;
 	struct karg		a;
 	struct sigaction	sact;
@@ -9443,7 +9444,6 @@ main(int argc, char *argv[])
 		warnx("already running");
 	}
 
-	char *cmd = NULL;
 	if (optn) {
 		while (argc) {
 			cmd = g_strdup_printf("%s %s", "tabnew", argv[0]);