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:
parent
62fb86c658
commit
7901c5c2a3
2 changed files with 11 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue