aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-08-26 01:27:49 +0000
committerUlrich Drepper <drepper@redhat.com>2007-08-26 01:27:49 +0000
commitec1e04dedb30596bb5bccad675feb0608f92cea9 (patch)
tree844271a41633c5e2157e967779391981db77ba49 /posix
parent7a344d1deb9caf6e7a3236bef616a4cb15043da7 (diff)
downloadglibc-ec1e04dedb30596bb5bccad675feb0608f92cea9.zip
glibc-ec1e04dedb30596bb5bccad675feb0608f92cea9.tar.gz
glibc-ec1e04dedb30596bb5bccad675feb0608f92cea9.tar.bz2
* posix/tst-rfc3484.c (__idna_to_unicode_lzlz): Initialize *OUTPUT.
* posix/tst-rfc3484-2.c (__idna_to_unicode_lzlz): Likewise.
Diffstat (limited to 'posix')
-rw-r--r--posix/tst-rfc3484-2.c1
-rw-r--r--posix/tst-rfc3484.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/posix/tst-rfc3484-2.c b/posix/tst-rfc3484-2.c
index 2536da8..ae802c0 100644
--- a/posix/tst-rfc3484-2.c
+++ b/posix/tst-rfc3484-2.c
@@ -26,6 +26,7 @@ __idna_to_ascii_lz (const char *input, char **output, int flags)
int
__idna_to_unicode_lzlz (const char *input, char **output, int flags)
{
+ *output = NULL;
return 0;
}
diff --git a/posix/tst-rfc3484.c b/posix/tst-rfc3484.c
index 2e74e97..352a757 100644
--- a/posix/tst-rfc3484.c
+++ b/posix/tst-rfc3484.c
@@ -26,6 +26,7 @@ __idna_to_ascii_lz (const char *input, char **output, int flags)
int
__idna_to_unicode_lzlz (const char *input, char **output, int flags)
{
+ *output = NULL;
return 0;
}