silence warning so we can stop getting complaints about it

pull/57/head
bert hubert 2019-12-20 20:08:14 +01:00
parent c58d23f486
commit ca034fb7eb
1 changed files with 3 additions and 1 deletions

View File

@ -232,9 +232,11 @@ UBXMessage sendAndWaitForUBX(int fd, int seconds, basic_string_view<uint8_t> msg
if(n==1)
throw;
cerr<<"Retransmit"<<endl;
}
}
// we actually never get here, but if you remove this line, we get a warning
// and people can't stop nagging us about the warning..
return waitForUBX(fd, seconds, ubxClass, ubxType);
}