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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user