summaryrefslogtreecommitdiff
path: root/source4/lib/samba3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-09-01 09:14:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:36:20 -0500
commiteb133639dc524cd03f2dd2ba24cf48cd673642f5 (patch)
treec512414dbc1d30291ba53fd5bca326ee59306a01 /source4/lib/samba3
parent6e17020de99a74176a243332d4058556ed445252 (diff)
downloadsamba-eb133639dc524cd03f2dd2ba24cf48cd673642f5.tar.gz
samba-eb133639dc524cd03f2dd2ba24cf48cd673642f5.tar.bz2
samba-eb133639dc524cd03f2dd2ba24cf48cd673642f5.zip
r9885: Fix code before declarations.
(This used to be commit b7d982c94be05d357a4c3517afc60c7929fb4615)
Diffstat (limited to 'source4/lib/samba3')
-rw-r--r--source4/lib/samba3/smbpasswd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/lib/samba3/smbpasswd.c b/source4/lib/samba3/smbpasswd.c
index baddb82545..483fbcfe05 100644
--- a/source4/lib/samba3/smbpasswd.c
+++ b/source4/lib/samba3/smbpasswd.c
@@ -213,9 +213,10 @@ NTSTATUS samba3_read_smbpasswd(const char *filename, TALLOC_CTX *ctx, struct sam
{
int numlines;
char **lines;
+ int i;
+
*count = 0;
*accounts = NULL;
- int i;
lines = file_lines_load(filename, &numlines, ctx);