aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpgconf-comp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-02-10 18:48:42 +0000
committerWerner Koch <[email protected]>2014-02-10 22:15:28 +0000
commit7901c5c2a3b7b24e9a4eaab590b0a54e9695c3e4 (patch)
tree25ac5ec5d8e7b5e3693e68805df5997206e1f5ca /tools/gpgconf-comp.c
parentgpg: Allow building without any trust model support. (diff)
downloadgnupg-7901c5c2a3b7b24e9a4eaab590b0a54e9695c3e4.tar.gz
gnupg-7901c5c2a3b7b24e9a4eaab590b0a54e9695c3e4.zip
gpg: Cleanup compiler warnings due to some configure options.
* g10/photoid.c (show_photos) [DISABLE_PHOTO_VIEWER]: Mark args as unused. * tools/gpgconf-comp.c (my_dgettext): Mark DOMAIN as unused if NLS is not configured.
Diffstat (limited to 'tools/gpgconf-comp.c')
-rw-r--r--tools/gpgconf-comp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/gpgconf-comp.c b/tools/gpgconf-comp.c
index 024417ef5..dda4c9a3f 100644
--- a/tools/gpgconf-comp.c
+++ b/tools/gpgconf-comp.c
@@ -1230,8 +1230,11 @@ my_dgettext (const char *domain, const char *msgid)
return text ? text : msgid;
}
else
-#endif
return msgid;
+#else
+ (void)domain;
+ return msgid;
+#endif
}