summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2005-09-01 09:14:35 +0000
committerTim Potter <tpot@samba.org>2005-09-01 09:14:35 +0000
commit6205ce57877a3f5dc2b9c35b6fc435c06f527b8e (patch)
treea3e3f553428126dd60987bd7d753d2f998d71dd9
parentedceec16ae95cc56b4ab595a8dffbce56454f70a (diff)
downloadsamba-6205ce57877a3f5dc2b9c35b6fc435c06f527b8e.tar.gz
r9885: Fix code before declarations.
-rw-r--r--source/lib/samba3/smbpasswd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/lib/samba3/smbpasswd.c b/source/lib/samba3/smbpasswd.c
index baddb82545b..483fbcfe05e 100644
--- a/source/lib/samba3/smbpasswd.c
+++ b/source/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);