mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
(DCIGETTEXT): Always define local variable `index'. (mempcpy): Correct typo is parameter list.
This commit is contained in:
parent
badd9b02da
commit
b98f4e050f
@ -535,10 +535,10 @@ DCIGETTEXT (domainname, msgid1, msgid2, plural, n, category)
|
|||||||
|
|
||||||
if (domain != NULL)
|
if (domain != NULL)
|
||||||
{
|
{
|
||||||
|
unsigned long int index = 0;
|
||||||
#if defined HAVE_TSEARCH || defined _LIBC
|
#if defined HAVE_TSEARCH || defined _LIBC
|
||||||
struct loaded_domain *domaindata =
|
struct loaded_domain *domaindata =
|
||||||
(struct loaded_domain *) domain->data;
|
(struct loaded_domain *) domain->data;
|
||||||
unsigned long int index = 0;
|
|
||||||
|
|
||||||
if (plural != 0)
|
if (plural != 0)
|
||||||
{
|
{
|
||||||
@ -1059,7 +1059,7 @@ mempcpy (dest, src, n)
|
|||||||
const void *src;
|
const void *src;
|
||||||
size_t n;
|
size_t n;
|
||||||
{
|
{
|
||||||
return (void *) ((char *) memcpy (dst, src, n) + n);
|
return (void *) ((char *) memcpy (dest, src, n) + n);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user