Skip to content

Commit

Permalink
Add more warnings.
Browse files Browse the repository at this point in the history
While these didn't find bugs here, there have been bugs found in
samtools with these options.
  • Loading branch information
jkbonfield committed Aug 22, 2024
1 parent 16abf8c commit a0b381d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ rocky_task:
LC_ALL: C
CIRRUS_CLONE_DEPTH: 1
USE_CONFIG: yes
CFLAGS: -std=gnu90 -Wformat -Wformat=2
CFLAGS: -std=gnu90 -Wformat -Wformat=2 -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-empty-body

# NB: we could consider building a docker image with these
# preinstalled and specifying that instead, to speed up testing.
Expand Down
1 change: 1 addition & 0 deletions test/test-bcf-sr.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ int main(int argc, char *argv[])
break;
case 'h':
usage(EXIT_SUCCESS);
// fall-through
default: usage(EXIT_FAILURE);
}
}
Expand Down

0 comments on commit a0b381d

Please sign in to comment.