projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c1097
)
spreadsheet-reader: Avoid 'unused variable' warnings.
author
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 4 Sep 2013 04:56:23 +0000
(21:56 -0700)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Wed, 4 Sep 2013 04:56:30 +0000
(21:56 -0700)
If ODS and GNM support are both unavailable then GCC warns here.
src/data/spreadsheet-reader.c
patch
|
blob
|
history
diff --git
a/src/data/spreadsheet-reader.c
b/src/data/spreadsheet-reader.c
index 76dbe8cd11f2fdec1f8f35f8eb2ed63f6d81173a..294b93cec5d3f5190d5bddde902ea6e0c0d273d5 100644
(file)
--- 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)