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