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 | 63ea2bb0adf5ae742658f479613de90b1eec3db5 (patch) | |
tree | fe99cad23bac1a8e0930ba0584b0d173d353a6fd | |
parent | eeb8af9c1a66bfcd80823d7b406acbab79857a16 (diff) | |
download | samba-63ea2bb0adf5ae742658f479613de90b1eec3db5.tar.gz samba-63ea2bb0adf5ae742658f479613de90b1eec3db5.tar.xz samba-63ea2bb0adf5ae742658f479613de90b1eec3db5.zip |
Quieten warning about uninitialized variable.
-rw-r--r-- | source/utils/smbcontrol.c | 4 |
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 { |