Skip to content

Commit

Permalink
Add missing return in Set_Serial_Settings
Browse files Browse the repository at this point in the history
Another one of those "warnings are good, use them" moments.  :-)
  • Loading branch information
hostilefork committed Jul 15, 2015
1 parent c2fe2fc commit 5c4968e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/os/win32/dev-serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ static REBINT Set_Serial_Settings(HANDLE h, REBREQ *req)
}

PurgeComm(h,PURGE_RXCLEAR|PURGE_TXCLEAR); //make sure buffers are clean
return 0;
}

/***********************************************************************
Expand Down

0 comments on commit 5c4968e

Please sign in to comment.