remomve unnecessary code
This commit is contained in:
parent
d162a4a83d
commit
1d87fab8b1
|
@ -95,7 +95,6 @@ retry:
|
||||||
{
|
{
|
||||||
FcStrSet *langs = FcGetDefaultLangs ();
|
FcStrSet *langs = FcGetDefaultLangs ();
|
||||||
lang = FcStrdup (langs->strs[0]);
|
lang = FcStrdup (langs->strs[0]);
|
||||||
FcStrSetDestroy (langs);
|
|
||||||
|
|
||||||
if (!fc_atomic_ptr_cmpexch (&default_lang, NULL, lang)) {
|
if (!fc_atomic_ptr_cmpexch (&default_lang, NULL, lang)) {
|
||||||
free (lang);
|
free (lang);
|
||||||
|
|
Loading…
Reference in New Issue