diff options
author | Pierre Ossman <ossman@cendio.se> | 2024-11-18 16:41:40 +0100 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2024-11-18 16:41:40 +0100 |
commit | 38705369ba11c6fa29f02c912d04f79403b9591f (patch) | |
tree | 39c2291e8ed165de24a740c3d72a0a3950a34ad7 | |
parent | aac8c7ae8b658ad679dc9898be32f0d03b609c7b (diff) | |
download | tigervnc-38705369ba11c6fa29f02c912d04f79403b9591f.tar.gz tigervnc-38705369ba11c6fa29f02c912d04f79403b9591f.zip |
Use (void) to mark unused arguments in gettext.h
Some compilers don't consider (const char*) enough of a marker and will
complain.
-rw-r--r-- | vncviewer/gettext.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vncviewer/gettext.h b/vncviewer/gettext.h index 09473d97..5d62f680 100644 --- a/vncviewer/gettext.h +++ b/vncviewer/gettext.h @@ -83,13 +83,13 @@ # define dcngettext(Domainname, Msgid1, Msgid2, N, Category) \ ((void) (Category), dngettext (Domainname, Msgid1, Msgid2, N)) # undef textdomain -# define textdomain(Domainname) ((const char *) (Domainname)) +# define textdomain(Domainname) ((void) (Domainname)) # undef bindtextdomain # define bindtextdomain(Domainname, Dirname) \ - ((void) (Domainname), (const char *) (Dirname)) + ((void) (Domainname), (void) (Dirname)) # undef bind_textdomain_codeset # define bind_textdomain_codeset(Domainname, Codeset) \ - ((void) (Domainname), (const char *) (Codeset)) + ((void) (Domainname), (void) (Codeset)) #endif |