From: Robert Kessl Date: Wed, 23 Jul 2014 12:39:45 +0000 (+0200) Subject: tableprinter: removed UNUSED attribute from timestamp&size parsing X-Git-Tag: v6.1~3^2~61 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=1feaba98eb64c53d4780ca63681dd98bbf8d1c95;p=libucw.git tableprinter: removed UNUSED attribute from timestamp&size parsing --- diff --git a/ucw/table-types.c b/ucw/table-types.c index 4197fa3d..891f6004 100644 --- a/ucw/table-types.c +++ b/ucw/table-types.c @@ -49,7 +49,7 @@ static const char *xt_size_format(void *src, u32 fmt, struct mempool *pool) return mp_printf(pool, "%"PRIu64"%s", curr_val, xtype_units_size[out_units].unit); } -static const char * xt_size_fmt_parse(const char *opt_str, u32 *dest, struct mempool *pool UNUSED) +static const char * xt_size_fmt_parse(const char *opt_str, u32 *dest, struct mempool *pool) { if(opt_str == NULL) { return "NULL is not supported as a column argument."; @@ -69,7 +69,7 @@ static const char * xt_size_fmt_parse(const char *opt_str, u32 *dest, struct mem return NULL; } -static const char *xt_size_parse(const char *str, void *dest, struct mempool *pool UNUSED) +static const char *xt_size_parse(const char *str, void *dest, struct mempool *pool) { errno = 0; char *units_start = NULL; @@ -153,7 +153,7 @@ static const char * xt_timestamp_fmt_parse(const char *opt_str, u32 *dest, struc return mp_printf(pool, "Invalid column format option: '%s'.", opt_str); } -static const char *xt_timestamp_parse(const char *str, void *dest, struct mempool *pool UNUSED) +static const char *xt_timestamp_parse(const char *str, void *dest, struct mempool *pool) { errno = 0; char *parse_end = NULL;