File: gcc-11.patch

package info (click to toggle)
ucx 1.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 14,744 kB
  • sloc: ansic: 134,028; cpp: 64,236; java: 2,778; sh: 2,718; makefile: 1,758; python: 469; asm: 297; xml: 233; lisp: 19
file content (11 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/ucs/sys/sock.c
+++ b/src/ucs/sys/sock.c
@@ -374,6 +374,8 @@
     ucs_status_t status;
     int ret, fd;
 
+    fd = 0; /* to silence uninit warning */
+    
     /* Create the server socket for accepting incoming connections */
     fd     = -1; /* Suppress compiler warning */
     status = ucs_socket_create(saddr->sa_family, SOCK_STREAM, &fd);