mirror of https://github.com/mgba-emu/mgba.git
Clean up unnecessary operation in GDB stub
This commit is contained in:
parent
9435226c58
commit
325380989c
|
@ -450,7 +450,6 @@ int GDBStubListen(struct GDBStub* stub, int port, uint32_t bindAddress) {
|
|||
if (flags == -1) {
|
||||
goto cleanup;
|
||||
}
|
||||
flags |= O_NONBLOCK;
|
||||
fcntl(stub->socket, F_SETFL, flags | O_NONBLOCK);
|
||||
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue