From e7da953fc1a516958f631334658323c03a427bfb Mon Sep 17 00:00:00 2001 From: Tim Cava Date: Sun, 2 Mar 2014 19:40:31 +0000 Subject: [PATCH] Don't check if the address of an array is NULL. git-svn-id: svn://svn.code.sf.net/p/bitchx/code/trunk@491 13b04d17-f746-0410-82c6-800466cd88b0 --- source/cset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/cset.c b/source/cset.c index bb9a7f2..999111e 100644 --- a/source/cset.c +++ b/source/cset.c @@ -560,7 +560,7 @@ int var_index, cnt = 0; return t; } } - return m_strdup(s && *s ? s : empty_string); + return m_strdup(*s ? s : empty_string); } return m_strdup(empty_string); }