summaryrefslogtreecommitdiff
path: root/lib/poptALL.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-11-05 23:08:19 +0000
committerjbj <devnull@localhost>2002-11-05 23:08:19 +0000
commit47b8b814681c26307b0599558634cadf96bcb5da (patch)
treecf9f5f23349fe2a791c9782382a54b7f5c6bef6b /lib/poptALL.c
parent75d27753a7d589afce7bc4b3109fce96c30a09f7 (diff)
downloadrpm-47b8b814681c26307b0599558634cadf96bcb5da.tar.gz
rpm-47b8b814681c26307b0599558634cadf96bcb5da.tar.bz2
rpm-47b8b814681c26307b0599558634cadf96bcb5da.zip
splint fiddles.
CVS patchset: 5828 CVS date: 2002/11/05 23:08:19
Diffstat (limited to 'lib/poptALL.c')
-rw-r--r--lib/poptALL.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/poptALL.c b/lib/poptALL.c
index 1c598b9cc..4e50da084 100644
--- a/lib/poptALL.c
+++ b/lib/poptALL.c
@@ -332,12 +332,8 @@ rpmcliInit(int argc, char *const argv[], struct poptOption * optionsTable)
}
/*@=globs =mods@*/
-#if defined(ENABLE_NLS)
+#if defined(ENABLE_NLS) && !defined(__LCLINT__)
(void) setlocale(LC_ALL, "" );
-
-#ifdef __LCLINT__
-#define LOCALEDIR "/usr/share/locale"
-#endif
(void) bindtextdomain(PACKAGE, LOCALEDIR);
(void) textdomain(PACKAGE);
#endif