From 71720f639e00d0e457bc8f967f8060b579bc2882 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 7 May 2018 16:03:16 -0400 Subject: [PATCH] LP#1243841: quiet a misleading indentation warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Adjusts a spaces-vs-tabs issue to fix the following compilation warning: osrf_prefork.c: In function ‘check_children’: osrf_prefork.c:1067:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if( select_ret <= 0 ) // we're done here ^~ osrf_prefork.c:1072:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ cur_child = forker->first_child; ^~~~~~~~~ Signed-off-by: Galen Charlton --- src/libopensrf/osrf_prefork.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libopensrf/osrf_prefork.c b/src/libopensrf/osrf_prefork.c index 658fd8c..f02f635 100644 --- a/src/libopensrf/osrf_prefork.c +++ b/src/libopensrf/osrf_prefork.c @@ -1065,7 +1065,7 @@ static int check_children( prefork_simple* forker, int forever ) { } if( select_ret <= 0 ) // we're done here - return select_ret; + return select_ret; // Check each child in the active list. // If it has responded, move it to the idle list. -- 2.43.2