deal with some gcc7+ warnings

This commit is contained in:
notaz 2019-12-07 21:40:24 +02:00
parent 29cdf77cf3
commit d0eab7dae8
4 changed files with 10 additions and 2 deletions

View file

@ -11,6 +11,10 @@
#include "cdd.h"
#include "cue.h"
#if defined(__GNUC__) && __GNUC__ >= 7
#pragma GCC diagnostic ignored "-Wformat-truncation"
#endif
static int handle_mp3(const char *fname, int index)
{
track_t *track = &cdd.toc.tracks[index];