Fix possible nullptr dereferencing.

This commit is contained in:
Kim Kulling
2018-03-09 19:03:05 +01:00
parent 69742670dd
commit 6668eeb68e
2 changed files with 40 additions and 4 deletions

View File

@@ -146,7 +146,6 @@ uint8_t HexOctetToDecimal(const char* in) {
return ((uint8_t)HexDigitToDecimal(in[0])<<4)+(uint8_t)HexDigitToDecimal(in[1]);
}
// ------------------------------------------------------------------------------------
// signed variant of strtoul10
// ------------------------------------------------------------------------------------
@@ -353,7 +352,6 @@ ai_real fast_atof(const char* c) {
return ret;
}
inline
ai_real fast_atof( const char* c, const char** cout) {
ai_real ret(0.0);