From: Derrell Lipman Date: Mon, 11 May 2009 03:04:00 +0000 (-0400) Subject: Use bool instead of int for a boolean variable X-Git-Tag: tdb-1.1.5~641 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=915518c0db30689f3508736238a9e8bb8ab03088 Use bool instead of int for a boolean variable --- diff --git a/lib/util/smb_threads.c b/lib/util/smb_threads.c index 132ad48784d..22afcd378f2 100644 --- a/lib/util/smb_threads.c +++ b/lib/util/smb_threads.c @@ -107,7 +107,7 @@ int smb_thread_set_functions(const struct smb_thread_functions *tf) void smb_thread_once(smb_thread_once_t *ponce, void (*init_fn)(void)) { int ret; - int need_func_call; + bool need_func_call; /* Lock our "once" mutex in order to test and initialize ponce */ if ((ret = SMB_THREAD_LOCK(once_mutex, SMB_THREAD_LOCK)) != 0) {