-
Notifications
You must be signed in to change notification settings - Fork 448
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Silence gcc warning in bcf_hdr_printf() For some optimisation levels, gcc would report a format-truncation warning for the line that measured how much memory was needed to store the header string. Silence it by supplying a reasonably big buffer, which has the added bonus that the malloc and second call to vsnprintf can be avoided completely in most cases. * Silence gcc 4 warning Silence 'end' may be used uninitialized warning from gcc 4 by making it more obvious that EOF is returned when 'start' is NULL (and 'end' is not used in that case).
- Loading branch information
Showing
2 changed files
with
17 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters