summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-02-22 00:34:35 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:19 -0500
commitb5caff56ec0ecfbdd3f7ddd8b0a1d6bd617886b3 (patch)
tree7645eb100156ee25644c6156582ae94b06b3f043 /source3/utils
parent7104002cf87fb2636b0819f386da79a037cc0a4e (diff)
downloadsamba-b5caff56ec0ecfbdd3f7ddd8b0a1d6bd617886b3.tar.gz
samba-b5caff56ec0ecfbdd3f7ddd8b0a1d6bd617886b3.tar.bz2
samba-b5caff56ec0ecfbdd3f7ddd8b0a1d6bd617886b3.zip
r13607: Fix compile - don't ref auto variable in a structure initialization.
Fix from Richard Bollinger <rabollinger@gmail.com>. Jeremy. (This used to be commit 02da5189f1c2a07a7ac02cf51e23782f70829f34)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/pdbedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c
index f1e4fb6542..bd33676547 100644
--- a/source3/utils/pdbedit.c
+++ b/source3/utils/pdbedit.c
@@ -655,7 +655,7 @@ int main (int argc, char **argv)
static char *pwd_can_change_time = NULL;
static char *pwd_must_change_time = NULL;
static char *pwd_time_format = NULL;
- BOOL pw_from_stdin = False;
+ static BOOL pw_from_stdin = False;
struct pdb_methods *bdef = NULL;
poptContext pc;