From: Paul Eggert Date: Mon, 12 Aug 2002 14:41:48 +0000 (+0000) Subject: Cast result of bindtextdomain and textdomain X-Git-Tag: BISON-1_49b~17 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/c81bad8950aa100e78e9cadb569e1c1a39a83fe3 Cast result of bindtextdomain and textdomain to void, to avoid a GCC warning when --disable-nls is in effect. --- diff --git a/src/main.c b/src/main.c index 602d4db6..b5a8e001 100644 --- a/src/main.c +++ b/src/main.c @@ -51,8 +51,8 @@ main (int argc, char *argv[]) { program_name = argv[0]; setlocale (LC_ALL, ""); - bindtextdomain (PACKAGE, LOCALEDIR); - textdomain (PACKAGE); + (void) bindtextdomain (PACKAGE, LOCALEDIR); + (void) textdomain (PACKAGE); getargs (argc, argv);