Initialize to empty string

Value should be non null as strcmp does not like null argument.

SVN revision: 45149
This commit is contained in:
Sebastian Dransfeld 2010-01-14 23:48:15 +00:00
parent 6e96d85186
commit 9b6667ebaa
1 changed files with 2 additions and 2 deletions

View File

@ -43,8 +43,8 @@ _cb_sort(const void *data1, const void *data2)
{
const E_Remember *rem1 = NULL;
const E_Remember *rem2 = NULL;
const char *d1 = NULL;
const char *d2 = NULL;
const char *d1 = "";
const char *d2 = "";
if (!(rem1 = data1)) return 1;
if (!(rem2 = data2)) return -1;