diff options
author | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:48 -0500 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:48 -0500 |
commit | 7c47b5b9584f5011aeba18d7e1b26b3d3124825f (patch) | |
tree | 11b07e1c73a22a6ec5ebd710c9a72e972a4c571b /arch/common | |
parent | 4979bb6cbbbe39eb44c32530cd13f86bf44e5d77 (diff) |
Import Upstream version 0.5.1
Diffstat (limited to 'arch/common')
-rw-r--r-- | arch/common/languages.h | 2 |
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); |