projects
/
platform
/
upstream
/
libexif.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ignore return value of bindtextdomain() to silence "result unused" warnings.
[platform/upstream/libexif.git]
/
libexif
/
olympus
/
mnote-olympus-tag.c
diff --git
a/libexif/olympus/mnote-olympus-tag.c
b/libexif/olympus/mnote-olympus-tag.c
index
3810352
..
ed1f153
100644
(file)
--- a/
libexif/olympus/mnote-olympus-tag.c
+++ b/
libexif/olympus/mnote-olympus-tag.c
@@
-208,7
+208,7
@@
mnote_olympus_tag_get_title (MnoteOlympusTag t)
{
unsigned int i;
{
unsigned int i;
- bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+
(void)
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
for (i = 0; i < sizeof (table) / sizeof (table[0]); i++)
if (table[i].tag == t) return (_(table[i].title));
return NULL;
for (i = 0; i < sizeof (table) / sizeof (table[0]); i++)
if (table[i].tag == t) return (_(table[i].title));
return NULL;
@@
-223,7
+223,7
@@
mnote_olympus_tag_get_description (MnoteOlympusTag t)
if (table[i].tag == t) {
if (!table[i].description || !*table[i].description)
return "";
if (table[i].tag == t) {
if (!table[i].description || !*table[i].description)
return "";
- bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
+
(void)
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
return _(table[i].description);
}
return NULL;
return _(table[i].description);
}
return NULL;