/* FILTER transformation. */
static int
filter_trns_proc (void *filter_var_,
- struct ccase **c UNUSED, casenumber case_nr UNUSED)
+ struct ccase **c, casenumber case_nr UNUSED)
{
struct variable *filter_var = filter_var_;
successful, false on I/O error. On failure, ROW might be
partially modified or corrupted. */
bool
-datasheet_put_value (struct datasheet *ds UNUSED, casenumber row UNUSED,
- size_t column UNUSED, const union value *value UNUSED)
+datasheet_put_value (struct datasheet *ds, casenumber row,
+ size_t column, const union value *value)
{
return rw_case (ds, OP_WRITE, row, column, 1, (union value *) value);
}
static void
gnumeric_error_handler (void *ctx, const char *mesg,
- UNUSED xmlParserSeverities sev, xmlTextReaderLocatorPtr loc)
+ xmlParserSeverities sev UNUSED,
+ xmlTextReaderLocatorPtr loc)
{
struct gnumeric_reader *r = ctx;
static void
ods_error_handler (void *ctx, const char *mesg,
- UNUSED xmlParserSeverities sev, xmlTextReaderLocatorPtr loc)
+ xmlParserSeverities sev UNUSED,
+ xmlTextReaderLocatorPtr loc)
{
struct ods_reader *r = ctx;
}
static void
-data_parser_casereader_destroy (struct casereader *reader UNUSED, void *r_)
+data_parser_casereader_destroy (struct casereader *reader, void *r_)
{
struct data_parser_casereader *r = r_;
if (dfm_reader_error (r->reader))
/* Destroys the casereader. */
static void
-input_program_casereader_destroy (struct casereader *reader UNUSED, void *inp_)
+input_program_casereader_destroy (struct casereader *reader, void *inp_)
{
struct input_program_pgm *inp = inp_;
if (inp->restart == TRNS_ERROR)
/* SYSFILE INFO utility. */
int
-cmd_sysfile_info (struct lexer *lexer, struct dataset *ds UNUSED)
+cmd_sysfile_info (struct lexer *lexer, struct dataset *ds)
{
struct any_reader *any_reader;
struct file_handle *h;
Returns true if successful read, false if an I/O occurred
during destruction or previously. */
static void
-flip_casereader_destroy (struct casereader *reader UNUSED, void *flip_)
+flip_casereader_destroy (struct casereader *reader, void *flip_)
{
struct flip_pgm *flip = flip_;
if (flip->error)
}
static void
-frq_destroy (const void *aux1 UNUSED, void *aux2 UNUSED, void *user_data UNUSED)
+frq_destroy (const void *aux1 UNUSED, void *aux2 UNUSED, void *user_data)
{
free (user_data);
}
if (bb[V][0] + h >= bb[V][1] && !(options & TAB_ROTATE))
{
PangoLayoutIter *iter;
- int best UNUSED = 0;
+ int best = 0;
/* Choose a breakpoint between lines instead of in the middle of one. */
iter = pango_layout_get_iter (font->layout);