From b98f4e050f5b470ae131cdd0113757a23f63cb6c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 6 May 2000 17:54:58 +0000 Subject: (DCIGETTEXT): Always define local variable `index'. (mempcpy): Correct typo is parameter list. --- intl/dcigettext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'intl') diff --git a/intl/dcigettext.c b/intl/dcigettext.c index 92732582f9..75f17072a2 100644 --- a/intl/dcigettext.c +++ b/intl/dcigettext.c @@ -535,10 +535,10 @@ DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category) if (domain != NULL) { + unsigned long int index = 0; #if defined HAVE_TSEARCH || defined _LIBC struct loaded_domain *domaindata = (struct loaded_domain *) domain->data; - unsigned long int index = 0; if (plural != 0) { @@ -1059,7 +1059,7 @@ mempcpy (dest, src, n) const void *src; size_t n; { - return (void *) ((char *) memcpy (dst, src, n) + n); + return (void *) ((char *) memcpy (dest, src, n) + n); } #endif -- cgit v1.2.3