Quieten warning about uninitialized variable.
authorMartin Pool <mbp@samba.org>
Thu, 10 Jan 2002 06:32:01 +0000 (06:32 +0000)
committerMartin Pool <mbp@samba.org>
Thu, 10 Jan 2002 06:32:01 +0000 (06:32 +0000)
(This used to be commit 63ea2bb0adf5ae742658f479613de90b1eec3db5)

source3/utils/smbcontrol.c

index 318e1657cc1e8367b26792bbf2913caa088f6fda..e1fdfc61cb8d52f45c4f481a06a9eb97099a3a72 100644 (file)
@@ -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 {