diff options
| author | shikokuchuo <53399081+shikokuchuo@users.noreply.github.com> | 2024-10-01 23:56:14 +0100 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-10-05 23:04:27 -0700 |
| commit | 3cfd6ab21bfb8b02fde1e976fc0bf50bf729c8ab (patch) | |
| tree | bf5201363777991b2408dfe03b650e89b8babf53 /src/platform | |
| parent | 9d0b023b39aae37adb6e5cb1a2b926777ffd2023 (diff) | |
| download | nng-3cfd6ab21bfb8b02fde1e976fc0bf50bf729c8ab.tar.gz nng-3cfd6ab21bfb8b02fde1e976fc0bf50bf729c8ab.tar.bz2 nng-3cfd6ab21bfb8b02fde1e976fc0bf50bf729c8ab.zip | |
fix maybe uninitialized warning
Diffstat (limited to 'src/platform')
| -rw-r--r-- | src/platform/windows/win_ipclisten.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/platform/windows/win_ipclisten.c b/src/platform/windows/win_ipclisten.c index 84efe401..e81f4b46 100644 --- a/src/platform/windows/win_ipclisten.c +++ b/src/platform/windows/win_ipclisten.c @@ -92,6 +92,7 @@ ipc_accept_start(ipc_listener *l) if (l->closed) { nni_aio_list_remove(aio); nni_aio_finish_error(aio, NNG_ECLOSED); + rv = NNG_ECLOSED; } else if (ConnectNamedPipe(l->f, &l->io.olpd)) { rv = 0; } else if ((rv = GetLastError()) == ERROR_IO_PENDING) { |
