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
This commit is contained in:
Tim Cava
2014-03-02 19:40:31 +00:00
parent 04e898bb57
commit e7da953fc1

View File

@@ -560,7 +560,7 @@ int var_index, cnt = 0;
return t; return t;
} }
} }
return m_strdup(s && *s ? s : empty_string); return m_strdup(*s ? s : empty_string);
} }
return m_strdup(empty_string); return m_strdup(empty_string);
} }