diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-common/core/formats.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/fe-common/core/formats.c b/src/fe-common/core/formats.c index 6941391e..1e3eadb0 100644 --- a/src/fe-common/core/formats.c +++ b/src/fe-common/core/formats.c @@ -227,10 +227,8 @@ void format_read_arglist(va_list va, FORMAT_REC *format, switch (format->paramtypes[num]) { case FORMAT_STRING: arglist[num] = (char *) va_arg(va, char *); - if (arglist[num] == NULL) { - g_warning("format_read_arglist(%s) : parameter %d is NULL", format->tag, num); + if (arglist[num] == NULL) arglist[num] = ""; - } break; case FORMAT_INT: { int d = (int) va_arg(va, int); |