libc-testsuite - correctness and quality tests for libc implementations

correctness and quality tests for libc implementations
summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012年11月05日 12:48:55 -0500
committerRich Felker <dalias@aerifal.cx>2012年11月05日 12:48:55 -0500
commitcbfa7e16acc09ea2797b12f54eafa4579469dd81 (patch)
tree7464421f06bac5097f6d5d025152cd2a694fd5a8
parent9c49de3d022f20a82bcf84a087648ba032dfbcec (diff)
downloadlibc-testsuite-cbfa7e16acc09ea2797b12f54eafa4579469dd81.tar.gz
fix uninitialized err count in new socket tests
Diffstat
-rw-r--r--socket.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/socket.c b/socket.c
index 5cce69e..6e1db07 100644
--- a/socket.c
+++ b/socket.c
@@ -15,7 +15,7 @@
int test_socket(void)
{
- int err;
+ int err = 0;
struct sockaddr_in sa = { .sin_family = AF_INET };
int s, c;
char buf[100];
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月01日 21:06:29 +0000

AltStyle によって変換されたページ (->オリジナル) /