Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tvh_locale: remove dead code
  • Loading branch information
perexg committed Jun 22, 2015
1 parent 1b261af commit 244edbb
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/tvh_locale.c
Expand Up @@ -139,9 +139,6 @@ const char *tvh_gettext_lang(const char *lang, const char *s)
strncpy(unklng, lang, sizeof(unklng));
unklng[sizeof(unklng)-1] = '\0';
tvh_gettext_last_lang = unklng;
} else {
if (tvh_gettext_last_lang == NULL)
tvh_gettext_last_lang = "en";
}
}
if ((strings = tvh_gettext_last_strings) != NULL) {
Expand Down

0 comments on commit 244edbb

Please sign in to comment.