diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-05-19 02:28:14 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-05-19 02:28:14 +0000 |
commit | 80b22f643394b2362be2a5a0a3a8b192c133a88f (patch) | |
tree | 036a579ac7574b9f9aff58f8d582094765bbcdd5 /source3 | |
parent | 2a02a76913a91c9882868b73c72ba2e8d2be764d (diff) | |
download | samba-80b22f643394b2362be2a5a0a3a8b192c133a88f.tar.gz samba-80b22f643394b2362be2a5a0a3a8b192c133a88f.tar.bz2 samba-80b22f643394b2362be2a5a0a3a8b192c133a88f.zip |
Keep the compiler happy
(This used to be commit 84ea2a434b510ed49838a04a4b30bd2fc9ec5673)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/messages.c | 2 | ||||
-rw-r--r-- | source3/utils/smbcontrol.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/messages.c b/source3/lib/messages.c index 6cb7507c0f..38d5e4af92 100644 --- a/source3/lib/messages.c +++ b/source3/lib/messages.c @@ -95,7 +95,7 @@ void debuglevel_message(int msg_type, pid_t src, void *buf, size_t len) char *debug_level_classes; DEBUG(1,("INFO: Received REQ_DEBUGLEVEL message from PID %u\n",(unsigned int)src)); - if (debug_level_classes = debug_list_class_names_and_levels()) { + if ((debug_level_classes = debug_list_class_names_and_levels())) { /*{ debug_level_classes = "test:1000";*/ message_send_pid(src, MSG_DEBUGLEVEL, debug_level_classes, strlen(debug_level_classes) + 1, True); SAFE_FREE(debug_level_classes); diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index 5cb4e4febb..1a8b1a6ada 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -106,7 +106,6 @@ Prints out the current Debug level returned by MSG_DEBUGLEVEL ****************************************************************************/ void debuglevel_function(int msg_type, pid_t src, void *buf, size_t len) { - int i; char *levels = (char *)buf; pstring dbgcl; |