From: Galen Charlton Date: Mon, 7 May 2018 20:03:16 +0000 (-0400) Subject: LP#1243841: quiet a misleading indentation warning X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b704d6ad373ed581b4f8caa2bd156161a0aa1bbd;p=working%2FOpenSRF.git LP#1243841: quiet a misleading indentation warning 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 --- 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.