Skip to content

Commit

Permalink
fix maybe uninitialized warning
Browse files Browse the repository at this point in the history
(cherry picked from commit 3cfd6ab)
  • Loading branch information
shikokuchuo authored and gdamore committed Oct 7, 2024
1 parent 3c12762 commit 52712a2
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 52712a2

Please sign in to comment.