summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-01-10 06:32:01 +0000
committerMartin Pool <mbp@samba.org>2002-01-10 06:32:01 +0000
commit63ea2bb0adf5ae742658f479613de90b1eec3db5 (patch)
treefe99cad23bac1a8e0930ba0584b0d173d353a6fd
parenteeb8af9c1a66bfcd80823d7b406acbab79857a16 (diff)
downloadsamba-63ea2bb0adf5ae742658f479613de90b1eec3db5.tar.gz
samba-63ea2bb0adf5ae742658f479613de90b1eec3db5.tar.xz
samba-63ea2bb0adf5ae742658f479613de90b1eec3db5.zip
Quieten warning about uninitialized variable.
-rw-r--r--source/utils/smbcontrol.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/utils/smbcontrol.c b/source/utils/smbcontrol.c
index 318e1657cc1..e1fdfc61cb8 100644
--- a/source/utils/smbcontrol.c
+++ b/source/utils/smbcontrol.c
@@ -1,6 +1,5 @@
/*
Unix SMB/Netbios implementation.
- Version 3.0
program to send control messages to Samba processes
Copyright (C) Andrew Tridgell 1994-1998
Copyright (C) 2001, 2002 by Martin Pool
@@ -139,6 +138,9 @@ void profilelevel_function(int msg_type, pid_t src, void *buf, size_t len)
case 7:
s = "count and time";
break;
+ default:
+ s = "BOGUS";
+ break;
}
printf("Profiling %s on PID %u\n",s,(unsigned int)src);
} else {