From 692215e4858cb4ac14af58f7e9422c2b15c999b4 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Thu, 10 Jan 2002 06:32:01 +0000 Subject: Quieten warning about uninitialized variable. (This used to be commit 63ea2bb0adf5ae742658f479613de90b1eec3db5) --- source3/utils/smbcontrol.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source3/utils/smbcontrol.c') 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 { -- cgit