8217 libldap5: misleading-indentation

Review Request #504 - Created May 13, 2017 and submitted

Information
Toomas Soome
illumos-gate
8217
b77c381...
Reviewers
general
../sources/ldap/common/sort.c: In function 'ldap_sort_strcasecmp':
../sources/ldap/common/sort.c:159:5: error: this 'if' clause does not guard... [-Werror=misleading-indentation]
     if (NULL == a || NULL == b)
     ^~
../sources/ldap/common/sort.c:161:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
  return( strcasecmp( (char *)*a, (char *)*b ) );
  ^~~~~~
cc1: all warnings being treated as errors

  
Yuri Pankov
Yuri Pankov
Toomas Soome
Igor Kozhukhov
Toomas Soome
Yuri Pankov
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...