ncbi/ncbi-vdb

/kns/http-file.c:1275:19: warning: this 'else' clause does not guard... [-Wmisleading-indentation]

smoe opened this issue · 2 comments

smoe commented

Please kindly consider to give this warning some extra review and donate a few {}s for extra clarity.
Cheers,
Steffen

/build/ncbi-vdb-2.10.6+dfsg/libs/kns/http-file.c: In function 'KHttpFileMake':
/build/ncbi-vdb-2.10.6+dfsg/libs/kns/http-file.c:1275:19: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
 1275 |                   else
      |                   ^~~~
/build/ncbi-vdb-2.10.6+dfsg/libs/kns/http-file.c:1277:21: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
 1277 |                     if ( rc == 0 )
      |                     ^~

Thanks.

This block of code was reformatted.
The change will be included in our next release.