summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-07-29 15:59:06 +0000
committerMichael Adam <obnox@samba.org>2014-07-31 18:49:47 +0200
commit138a65c12a8dd4a59b503180fa5aaff7386c1e4b (patch)
treeb0d51f85008f9c0850011f1f78278029dbe09fb7 /lib
parentb0221d58f9f17227246d479cbbe334093f9e08be (diff)
downloadsamba-138a65c12a8dd4a59b503180fa5aaff7386c1e4b.tar.gz
debug: Remove an "else"
No else necessary, we just did a "goto done:" Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/util/debug.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index d96fcc5322f..6f2c3099d4b 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -784,7 +784,9 @@ static int Debug1( const char *format_str, ... )
goto done;
- } else if ( state.logtype != DEBUG_FILE ) {
+ }
+
+ if ( state.logtype != DEBUG_FILE ) {
va_start( ap, format_str );
if (state.fd > 0)
(void)vdprintf( state.fd, format_str, ap );