diff options
| author | lukem <lukem@NetBSD.org> | 2005-06-01 11:08:57 +0000 |
|---|---|---|
| committer | lukem <lukem@NetBSD.org> | 2005-06-01 11:08:57 +0000 |
| commit | 9f3f3adf2361d7e1f27779218c1947e3a57b97c0 (patch) | |
| tree | 038ad767e476bc36da5efdf3656765d7cc221d4b /lib/libintl | |
| parent | 7fbaf47f83cec9d34febfdcccf485f0303e44142 (diff) | |
appease gcc -Wuninitialized
Diffstat (limited to 'lib/libintl')
| -rw-r--r-- | lib/libintl/gettext.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libintl/gettext.c b/lib/libintl/gettext.c index 1110e76176b..76889f7c456 100644 --- a/lib/libintl/gettext.c +++ b/lib/libintl/gettext.c @@ -1,4 +1,4 @@ -/* $NetBSD: gettext.c,v 1.23 2005/05/15 09:58:06 yamt Exp $ */ +/* $NetBSD: gettext.c,v 1.24 2005/06/01 11:08:57 lukem Exp $ */ /*- * Copyright (c) 2000, 2001 Citrus Project, @@ -29,7 +29,7 @@ */ #include <sys/cdefs.h> -__RCSID("$NetBSD: gettext.c,v 1.23 2005/05/15 09:58:06 yamt Exp $"); +__RCSID("$NetBSD: gettext.c,v 1.24 2005/06/01 11:08:57 lukem Exp $"); #include <sys/param.h> #include <sys/stat.h> @@ -899,7 +899,7 @@ dcngettext(domainname, msgid1, msgid2, n, category) static char *ocname = NULL; static char *odomainname = NULL; struct domainbinding *db; - unsigned long plural_index; + unsigned long plural_index = 0; size_t len; if (!domainname) |
