Remove the duplicate null-check
This commit is contained in:
parent
e7954674eb
commit
608c5b590b
|
@ -83,7 +83,7 @@ FcInitLoadConfig (void)
|
|||
prefix = FcConfigXdgCacheHome ();
|
||||
if (!prefix)
|
||||
goto bail;
|
||||
plen = prefix ? strlen ((const char *)prefix) : 0;
|
||||
plen = strlen ((const char *)prefix);
|
||||
p = realloc (prefix, plen + 12);
|
||||
if (!p)
|
||||
goto bail;
|
||||
|
|
Loading…
Reference in New Issue