summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-23 01:09:43 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-23 01:09:43 +0000
commitdc1c29d29cd317abb61ff6faf206f404d145359a (patch)
treee5d902bed467755e40e52f028def4dcf7ede3aad /source3/client
parent46a6e7f62ba2c72d6288290857193eed280c6d2a (diff)
downloadsamba-dc1c29d29cd317abb61ff6faf206f404d145359a.tar.gz
samba-dc1c29d29cd317abb61ff6faf206f404d145359a.tar.bz2
samba-dc1c29d29cd317abb61ff6faf206f404d145359a.zip
Don't declare variables after instructions
(This used to be commit 818bc35da7b66aa8c4156406b7ab3304d4c94a72)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/client.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index b917201985..9fb843cfba 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -2587,18 +2587,6 @@ static void remember_query_host(const char *arg,
poptContext pc;
char *p;
int rc = 0;
-
-#ifdef KANJI
- pstrcpy(term_code, KANJI);
-#else /* KANJI */
- *term_code = 0;
-#endif /* KANJI */
-
- *query_host = 0;
- *base_directory = 0;
-
- setup_logging(argv[0],True);
-
struct poptOption long_options[] = {
POPT_AUTOHELP
POPT_COMMON_SAMBA
@@ -2625,6 +2613,18 @@ static void remember_query_host(const char *arg,
{ 0, 0, 0, 0 }
};
+
+#ifdef KANJI
+ pstrcpy(term_code, KANJI);
+#else /* KANJI */
+ *term_code = 0;
+#endif /* KANJI */
+
+ *query_host = 0;
+ *base_directory = 0;
+
+ setup_logging(argv[0],True);
+
pc = poptGetContext("smbclient", argc, (const char **) argv, long_options,
POPT_CONTEXT_KEEP_FIRST);
poptSetOtherOptionHelp(pc, "service <password>");