libuv/src/unix
Ben Noordhuis b33162dd0b
unix: fix use of uninitialized variable (#4924)
The `flags` argument to `uv__udp_recvmsg_errqueue` was not initialized
in all code paths. Shuffle code around to make the control flow more
obvious (at the cost of a less legible diff.)

Also fixes an unused label warning when building on systems that aren't
Linux.

Introduced last month in commit 80a5e3ba0, "linux: add MSG_ERRQUEUE
ipv4/ipv6 udp support".
2025-11-06 22:34:44 +01:00
..
aix-common.c
aix.c aix: add stub function to satisfy linker (#4903) 2025-10-05 18:40:12 +02:00
async.c unix: replace uv__io_t callback pointer with enum (#4854) 2025-08-23 20:41:01 +02:00
bsd-ifaddrs.c unix: deduplicate uv_free_interface_addresses (#4818) 2025-07-05 13:05:46 +02:00
bsd-proctitle.c bsd: ensure mutex is initialized (#3428) 2022-01-17 12:55:41 +01:00
core.c unix: remove UV__SIGNAL_EVENT dispatch from uv__io_cb (#4871) 2025-08-25 22:39:46 +02:00
cygwin.c cygwin: implement uv_resident_set_memory (#4333) 2024-03-02 11:24:57 +01:00
darwin-proctitle.c src: add uv_thread_set/getname() methods (#4599) 2024-11-27 12:52:18 +01:00
darwin-stub.h darwin: use hw.cpufrequency again for frequency info (#3679) 2022-11-08 12:40:17 -05:00
darwin-syscalls.h darwin: add udp mmsg support (#4527) 2024-09-17 23:15:37 +02:00
darwin.c darwin: better heuristic for available memory (#4908) 2025-10-15 08:35:42 +02:00
dl.c freebsd: call dlerror() only if necessary (#3388) 2022-01-03 11:25:45 +01:00
freebsd.c dragonflybsd: fix compilation failure (#4534) 2024-09-17 21:27:18 +02:00
fs.c qnx: add qnx 8 support (#4801) 2025-06-30 08:26:11 +02:00
fsevents.c fsevents: detect watched directory removal (#4376) 2024-07-30 00:59:38 +02:00
getaddrinfo.c unix,win: remove unused req parameter from macros (#4435) 2024-07-11 21:29:15 +02:00
getnameinfo.c unix,win: remove unused req parameter from macros (#4435) 2024-07-11 21:29:15 +02:00
haiku.c haiku: use uint32 instead of uint32_t (#4754) 2025-04-16 14:47:07 +02:00
hurd.c unix,win: add uv_get_available_memory() (#3754) 2022-11-24 22:09:32 +01:00
ibmi.c ibmi: add stub function to satisfy linker (#4905) 2025-10-07 23:08:33 +02:00
internal.h unix: fix build on the bsds (#4870) 2025-08-25 16:21:37 +02:00
kqueue.c unix: replace uv__io_t callback pointer with enum (#4854) 2025-08-23 20:41:01 +02:00
linux.c unix: add neoverse-v2 cpu identifier (#4897) 2025-10-01 19:18:20 +02:00
loop-watcher.c unix,win: replace QUEUE with struct uv__queue (#4022) 2023-05-25 00:04:30 +02:00
loop.c unix: fix uv__signal_loop_cleanup call in init (#4876) 2025-09-25 11:02:44 -04:00
netbsd.c unix,win: add uv_get_available_memory() (#3754) 2022-11-24 22:09:32 +01:00
no-fsevents.c
no-proctitle.c
openbsd.c openbsd: do not error out if cpuspeed is not available (#4727) 2025-03-03 09:13:29 +01:00
os390-proctitle.c
os390-syscalls.c unix,win: replace QUEUE with struct uv__queue (#4022) 2023-05-25 00:04:30 +02:00
os390-syscalls.h unix,win: replace QUEUE with struct uv__queue (#4022) 2023-05-25 00:04:30 +02:00
os390.c unix: replace uv__io_t callback pointer with enum (#4854) 2025-08-23 20:41:01 +02:00
pipe.c unix: replace uv__io_t callback pointer with enum (#4854) 2025-08-23 20:41:01 +02:00
poll.c unix: replace uv__io_t callback pointer with enum (#4854) 2025-08-23 20:41:01 +02:00
posix-hrtime.c unix: abort on clock_gettime() error (#3898) 2023-02-01 22:10:36 +01:00
posix-poll.c unix: replace uv__io_t callback pointer with enum (#4854) 2025-08-23 20:41:01 +02:00
process.c macos: increase child process stdio buffer size (#4694) 2025-02-10 10:07:50 -05:00
procfs-exepath.c
proctitle.c
qnx.c qnx: add qnx 8 support (#4801) 2025-06-30 08:26:11 +02:00
random-devurandom.c build: add MemorySanitizer (MSAN) support (#3788) 2022-10-18 23:21:42 +02:00
random-getentropy.c
random-getrandom.c linux: merge files back into single file (#3778) 2022-10-02 14:09:42 +02:00
random-sysctl-linux.c
signal.c unix: replace uv__io_t callback pointer with enum (#4854) 2025-08-23 20:41:01 +02:00
stream.c unix: replace uv__io_t callback pointer with enum (#4854) 2025-08-23 20:41:01 +02:00
sunos.c unix: replace uv__io_t callback pointer with enum (#4854) 2025-08-23 20:41:01 +02:00
sysinfo-loadavg.c
sysinfo-memory.c
tcp.c unix: replace uv__io_t callback pointer with enum (#4854) 2025-08-23 20:41:01 +02:00
thread.c unix: add thread affinity support on openharmony (#4705) 2025-02-21 22:01:16 +01:00
tty.c win: add ENABLE_VIRTUAL_TERMINAL_INPUT raw tty mode (#4688) 2025-02-21 23:34:53 +01:00
udp.c unix: fix use of uninitialized variable (#4924) 2025-11-06 22:34:44 +01:00