From 6b53a877848734ddafb1c772021fa5e06227c60b Mon Sep 17 00:00:00 2001 From: Christopher Snowhill Date: Sat, 26 Feb 2022 01:11:50 -0800 Subject: [PATCH] Clean up a couple of warning notices on this file There were several warnings due to the capitalization of the header paths, and due to unused functions that are only required by the text CUESheet parser, and we're only using the CUESheet generator, which has been heavily modified to emit NSString output rather than a file on disk. Signed-off-by: Christopher Snowhill --- Plugins/Flac/cuesheet.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Plugins/Flac/cuesheet.m b/Plugins/Flac/cuesheet.m index 59db6adfa..c24a70a1d 100644 --- a/Plugins/Flac/cuesheet.m +++ b/Plugins/Flac/cuesheet.m @@ -22,8 +22,8 @@ #include #include -#include -#include +#include +#include uint32_t grabbag__cuesheet_msf_to_frame(uint32_t minutes, uint32_t seconds, uint32_t frames) { return ((minutes * 60) + seconds) * 75 + frames; @@ -37,6 +37,7 @@ void grabbag__cuesheet_frame_to_msf(uint32_t frame, uint32_t *minutes, uint32_t *minutes = frame; } +#if 0 /* since we only care about values >= 0 or error, returns < 0 for any illegal string, else value */ static int local__parse_int_(const char *s) { int ret = 0; @@ -225,7 +226,6 @@ static char *local__get_field_(char **s, FLAC__bool allow_quotes) { return p; } -#if 0 static FLAC__bool local__cuesheet_parse_(FILE *file, const char **error_message, uint32_t *last_line_read, FLAC__StreamMetadata *cuesheet, uint32_t sample_rate, FLAC__bool is_cdda, FLAC__uint64 lead_out_offset) { char buffer[4096], *line, *field;