mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-07-29 13:34:13 -04:00
52f5055ef7
Remove an invalid out-of-bounds array access that attempted to handle ERROR_INSUFFICIENT_BUFFER. The statement did not resize the fixed-size buffer and had no effect other than invoking undefined behavior. The function only uses QueryDosDeviceA() as an existence check for COM ports, so removing the dead error-handling code does not change its behavior. Signed-off-by: Robin Getz <rgetz503@gmail.com>