]> git.pld-linux.org Git - packages/apr-compat.git/blobdiff - apr-bug-46425.patch
- initialize flags first
[packages/apr-compat.git] / apr-bug-46425.patch
index d3e7ad04457d64ea49f25faf5695bcf5c1f8be57..d234809541f174793a9fbc38cbe45fa07d6d4b2d 100644 (file)
@@ -7,7 +7,7 @@ Index: network_io/unix/sockets.c
                                 int protocol, apr_pool_t *cont)
  {
 -    int family = ofamily;
-+    int family = ofamily, flags;
++    int family = ofamily, flags = 0;
 +
 +#ifdef SOCK_CLOEXEC
 +    flags |= SOCK_CLOEXEC;
This page took 0.1037 seconds and 4 git commands to generate.