summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-08-31 07:11:59 +0000
committerAndrew Tridgell <tridge@samba.org>2000-08-31 07:11:59 +0000
commit288ea15a564e0931f8002cfb2ca3b4064bb4c227 (patch)
treeac1cecc3a1077f679559f359ec6e38be1c90c87d
parent22fbda6c5616c89e774ed2550476f47aa9f0506f (diff)
downloadsamba-288ea15a564e0931f8002cfb2ca3b4064bb4c227.tar.gz
samba-288ea15a564e0931f8002cfb2ca3b4064bb4c227.tar.bz2
samba-288ea15a564e0931f8002cfb2ca3b4064bb4c227.zip
make sure a couple of variables are initialised
(This used to be commit 155c7c37398f5f9457ea249ded74f425b90ac9a0)
-rw-r--r--source3/smbd/lanman.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 82ab5f4d3c..6595163ba9 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -499,7 +499,7 @@ static void fill_printq_info_52(connection_struct *conn, int snum, int uLevel,
print_status_struct* status)
{
int i;
- BOOL ok;
+ BOOL ok = False;
pstring tok,driver,datafile,langmon,helpfile,datatype;
char *p;
char **lines = NULL;
@@ -742,7 +742,7 @@ static void fill_printq_info(connection_struct *conn, int snum, int uLevel,
static int get_printerdrivernumber(int snum)
{
int i;
- BOOL ok;
+ BOOL ok = False;
pstring tok;
char *p;
char **lines = NULL;