diff options
author | Martin Pool <mbp@samba.org> | 2002-01-10 06:32:01 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2002-01-10 06:32:01 +0000 |
commit | 692215e4858cb4ac14af58f7e9422c2b15c999b4 (patch) | |
tree | 6b6862c0eb01a180dfc38a76427bfc9ce331a715 /source3/utils | |
parent | 610f530aee4da9b63cb1cb9005650d27e4846bc0 (diff) | |
download | samba-692215e4858cb4ac14af58f7e9422c2b15c999b4.tar.gz samba-692215e4858cb4ac14af58f7e9422c2b15c999b4.tar.bz2 samba-692215e4858cb4ac14af58f7e9422c2b15c999b4.zip |
Quieten warning about uninitialized variable.
(This used to be commit 63ea2bb0adf5ae742658f479613de90b1eec3db5)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/smbcontrol.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index 318e1657cc..e1fdfc61cb 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/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 { |