Skip to content

Commit

Permalink
fix maybe uninitialized warning
Browse files Browse the repository at this point in the history
  • Loading branch information
shikokuchuo authored and gdamore committed Oct 6, 2024
1 parent 640c3f3 commit 96452ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/platform/windows/win_ipclisten.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 96452ee

Please sign in to comment.