Skip to content

Commit 9083628

Browse files
committed
FIX: suppress compiler warnings
1 parent f49d969 commit 9083628

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/os/dev-net.c

+1
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ static REBOOL Nonblocking_Mode(SOCKET sock)
627627
// the new values for IP and ports and links this request to the
628628
// original via the sock->data.
629629
news = MAKE_NEW(*news); // Be sure to deallocate it
630+
if (!news) return DR_ERROR;
630631
CLEARS(news);
631632
// *news = *sock;
632633
news->device = sock->device;

0 commit comments

Comments
 (0)