public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/clang] resolv: Initialize variable to pacify clang
@ 2022-03-10 19:22 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2022-03-10 19:22 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7619eea725ffa01c1a9c2bbde964ed6cf5cef8cb

commit 7619eea725ffa01c1a9c2bbde964ed6cf5cef8cb
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 10:10:24 2022 -0300

    resolv: Initialize variable to pacify clang

Diff:
---
 sysdeps/posix/getaddrinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index f22c36a262..3d53e4d54e 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -1899,7 +1899,7 @@ gaiconf_init (void)
 		  struct in6_addr prefix;
 		  unsigned long int bits;
 		  unsigned long int val;
-		  char *endp;
+		  char *endp = NULL;
 
 		  bits = 32;
 		  __set_errno (0);


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [glibc/azanella/clang] resolv: Initialize variable to pacify clang
@ 2022-03-16 18:02 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2022-03-16 18:02 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a7efcb88a7e30886765147870ba0d78f2fc30781

commit a7efcb88a7e30886765147870ba0d78f2fc30781
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 10:10:24 2022 -0300

    resolv: Initialize variable to pacify clang

Diff:
---
 sysdeps/posix/getaddrinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index f22c36a262..3d53e4d54e 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -1899,7 +1899,7 @@ gaiconf_init (void)
 		  struct in6_addr prefix;
 		  unsigned long int bits;
 		  unsigned long int val;
-		  char *endp;
+		  char *endp = NULL;
 
 		  bits = 32;
 		  __set_errno (0);


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [glibc/azanella/clang] resolv: Initialize variable to pacify clang
@ 2022-03-15 18:39 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2022-03-15 18:39 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a7efcb88a7e30886765147870ba0d78f2fc30781

commit a7efcb88a7e30886765147870ba0d78f2fc30781
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 10:10:24 2022 -0300

    resolv: Initialize variable to pacify clang

Diff:
---
 sysdeps/posix/getaddrinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index f22c36a262..3d53e4d54e 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -1899,7 +1899,7 @@ gaiconf_init (void)
 		  struct in6_addr prefix;
 		  unsigned long int bits;
 		  unsigned long int val;
-		  char *endp;
+		  char *endp = NULL;
 
 		  bits = 32;
 		  __set_errno (0);


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [glibc/azanella/clang] resolv: Initialize variable to pacify clang
@ 2022-03-11 17:23 Adhemerval Zanella
  0 siblings, 0 replies; 4+ messages in thread
From: Adhemerval Zanella @ 2022-03-11 17:23 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1e318b0135f8c704f9caf637ff40b20cca61dcfa

commit 1e318b0135f8c704f9caf637ff40b20cca61dcfa
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu Mar 10 10:10:24 2022 -0300

    resolv: Initialize variable to pacify clang

Diff:
---
 sysdeps/posix/getaddrinfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/posix/getaddrinfo.c b/sysdeps/posix/getaddrinfo.c
index f22c36a262..3d53e4d54e 100644
--- a/sysdeps/posix/getaddrinfo.c
+++ b/sysdeps/posix/getaddrinfo.c
@@ -1899,7 +1899,7 @@ gaiconf_init (void)
 		  struct in6_addr prefix;
 		  unsigned long int bits;
 		  unsigned long int val;
-		  char *endp;
+		  char *endp = NULL;
 
 		  bits = 32;
 		  __set_errno (0);


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-16 18:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-10 19:22 [glibc/azanella/clang] resolv: Initialize variable to pacify clang Adhemerval Zanella
2022-03-11 17:23 Adhemerval Zanella
2022-03-15 18:39 Adhemerval Zanella
2022-03-16 18:02 Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).