aboutsummaryrefslogtreecommitdiffstats
path: root/rc.c
diff options
context:
space:
mode:
authorRichard Quirk <richard@quirk.es>2015-07-25 12:53:22 +0000
committerRichard Quirk <richard@quirk.es>2015-07-25 12:53:22 +0000
commitf3c14dfe6b5a845470212c3e36dbb66821fe8d8c (patch)
treec01e8fa97216592d29bca761d8f0ab172e03f374 /rc.c
parentInitialise hidden_input to NULL (diff)
downloadw3m-f3c14dfe6b5a845470212c3e36dbb66821fe8d8c.tar.gz
w3m-f3c14dfe6b5a845470212c3e36dbb66821fe8d8c.zip
Avoid passing null to strlen
Diffstat (limited to 'rc.c')
-rw-r--r--rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.c b/rc.c
index a839bb3..b85d50b 100644
--- a/rc.c
+++ b/rc.c
@@ -837,7 +837,7 @@ void
show_params(FILE * fp)
{
int i, j, l;
- char *t = NULL;
+ const char *t = "";
char *cmt;
#ifdef USE_M17N