mirror of https://github.com/xiph/flac
Address two Clang warnings
This commit is contained in:
parent
09d7887b2f
commit
9977773a60
|
@ -66,7 +66,7 @@
|
|||
#ifdef FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION
|
||||
extern int alloc_check_threshold, alloc_check_counter;
|
||||
|
||||
static inline int alloc_check() {
|
||||
static inline int alloc_check(void) {
|
||||
if(alloc_check_threshold == INT32_MAX)
|
||||
return 0;
|
||||
else if(alloc_check_counter++ == alloc_check_threshold)
|
||||
|
|
|
@ -758,7 +758,7 @@ void write_metadata(const char *filename, FLAC__StreamMetadata *block, unsigned
|
|||
flac_printf("%c",block->data.application.data[i]);
|
||||
else {
|
||||
char replacement[4] = {0xef, 0xbf, 0xbd, 0}; /* Unicode replacement character */
|
||||
flac_printf(replacement);
|
||||
flac_printf("%s",replacement);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue