]> arthur.barton.de Git - ngircd-alex.git/commit
gcc 6.2 warnings: fix code indentation
authorAlexander Barton <alex@barton.de>
Mon, 5 Dec 2016 22:33:12 +0000 (23:33 +0100)
committerAlexander Barton <alex@barton.de>
Mon, 5 Dec 2016 22:33:12 +0000 (23:33 +0100)
commit2924b3d52ac2ab89e3bc517a1f664ec056a45edd
tree7afaa285e6728e1fb8fe4990176fa3584af20a80
parenta335e480c59f382d51a4f3d6d2c348c35d60c82f
gcc 6.2 warnings: fix code indentation

This fixes the following correct -Wmisleading-indentation warning
messages of gcc 6.2:

irc-write.c: In function ‘IRC_SendWallops’:
irc-write.c:521:4: warning: this ‘if’ clause does not guard...
irc-write.c:524:5: note: ...this statement, but the latter is
  misleadingly indented as if it is guarded by the ‘if’
irc-write.c:526:4: warning: this ‘if’ clause does not guard... []
irc-write.c:529:5: note: ...this statement, but the latter is
  misleadingly indented as if it is guarded by the ‘if’

irc-info.c: In function ‘IRC_STATS’:
irc-info.c:895:3: warning: this ‘else’ clause does not guard...
irc-info.c:897:4: note: ...this statement, but the latter is
  misleadingly indented as if it is guarded by the ‘else’

No functional changes, the code has been correct, but the indentation
was wrong ...
src/ngircd/irc-info.c
src/ngircd/irc-write.c