forked from enlightenment/enlightenment
Initialize to empty string
Value should be non null as strcmp does not like null argument. SVN revision: 45149
This commit is contained in:
parent
6e96d85186
commit
9b6667ebaa
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue