aboutsummaryrefslogtreecommitdiff
path: root/arch/common/languages.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/common/languages.h')
-rw-r--r--arch/common/languages.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/common/languages.h b/arch/common/languages.h
index 45eb2b6a..c1839ee9 100644
--- a/arch/common/languages.h
+++ b/arch/common/languages.h
@@ -40,7 +40,7 @@ scan_languages(OperatingSystem * os)
while (fgets(buf, 512, locale)) {
if (!strncmp(buf, "locale:", 7)) {
sscanf(buf, "locale: %s", name);
- fgets(buf, 128, locale);
+ (void)fgets(buf, 128, locale);
} else if (strchr(buf, '|')) {
gchar **tmp = g_strsplit(buf, "|", 2);