aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/git-hooks/commit-msg
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-05-14 15:44:41 +0200
committerJim Meyering <meyering@redhat.com>2012-05-16 07:36:26 +0200
commit1ab163ec071130aef814c262f109b1ac4721d054 (patch)
tree7ebd7e23c8036d0b477e018903eaee2f88ec38d3 /scripts/git-hooks/commit-msg
parentstat: report the correct block size for file system usage (diff)
downloadcoreutils-1ab163ec071130aef814c262f109b1ac4721d054.tar.gz
coreutils-1ab163ec071130aef814c262f109b1ac4721d054.zip
maint: add assertions to placate static analysis tools
A static analysis tool (http://labs.oracle.com/projects/parfait/) produced some false positive diagnostics. Add assertions to help it understand that the code is correct. * src/stty.c: Include <assert.h>. (display_changed): Add an assertion to placate parfait. (display_all): Likewise. * src/sort.c: Include <assert.h>. (main): Add an assertion to placate parfait. * src/fmt.c: Include <assert.h>. (get_paragraph): Add an assertion to placate parfait.
Diffstat (limited to 'scripts/git-hooks/commit-msg')
0 files changed, 0 insertions, 0 deletions