summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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);