1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

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.
This commit is contained in:
Werner Koch 2014-02-10 19:48:42 +01:00
parent 62fb86c658
commit 7901c5c2a3
2 changed files with 11 additions and 3 deletions

View file

@ -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
}