From 5ccdabb16266795f913808aac24750f09cc83130 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 3 Sep 2013 21:56:23 -0700 Subject: [PATCH] spreadsheet-reader: Avoid 'unused variable' warnings. If ODS and GNM support are both unavailable then GCC warns here. --- src/data/spreadsheet-reader.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/data/spreadsheet-reader.c b/src/data/spreadsheet-reader.c index 76dbe8cd11..294b93cec5 100644 --- a/src/data/spreadsheet-reader.c +++ b/src/data/spreadsheet-reader.c @@ -53,7 +53,8 @@ spreadsheet_destroy (struct spreadsheet *s) struct casereader * -spreadsheet_make_reader (struct spreadsheet *s, const struct spreadsheet_read_options *opts) +spreadsheet_make_reader (struct spreadsheet *s UNUSED, + const struct spreadsheet_read_options *opts UNUSED) { #ifdef ODS_READ_SUPPORT if ( s->type == SPREADSHEET_ODS) -- 2.30.2