[libpeas] Fix a few warnings
- From: Garrett Regier <gregier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libpeas] Fix a few warnings
- Date: Sun, 3 Nov 2013 23:31:44 +0000 (UTC)
commit ad1d30d5bc008e82f23fa4eeb3a0e339998f6dec
Author: Garrett Regier <garrettregier gmail com>
Date: Sun Nov 3 15:28:14 2013 -0800
Fix a few warnings
libpeas/peas-i18n.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libpeas/peas-i18n.c b/libpeas/peas-i18n.c
index 26eb3b4..b18fa03 100644
--- a/libpeas/peas-i18n.c
+++ b/libpeas/peas-i18n.c
@@ -47,10 +47,10 @@ peas_gettext (const gchar *msgid)
locale_dir = peas_dirs_get_locale_dir ();
- bindtextdomain (GETTEXT_PACKAGE, locale_dir);
+ (void) bindtextdomain (GETTEXT_PACKAGE, locale_dir);
g_free (locale_dir);
- bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+ (void) bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
initialized = TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]