Fix lots of warnings all over the place, make inbound buffers of FMOUT const.
[citadel.git] / webcit / gettext.c
index 30a73258838847a8b3f75fb53b79dfcc52b5815b..62263c8696493b83435a76c2519e498fd16e6c62 100644 (file)
@@ -287,8 +287,6 @@ void initialize_locales(void) {
        int i;
        char buf[32];
        char *language = NULL;
-       char *locale;
-
 
        nLocales = 0; 
        while (!IsEmptyStr(AvailLang[nLocales]))
@@ -368,7 +366,7 @@ void initialize_locales(void) {
        }
 
 #ifdef ENABLE_NLS
-       locale = setlocale(LC_ALL, "");
+       /*locale = */setlocale(LC_ALL, "");
 
        syslog(9, "Message catalog directory: %s\n", bindtextdomain("webcit", LOCALEDIR"/locale"));
        syslog(9, "Text domain: %s\n", textdomain("webcit"));