* Fix various warnings with GCC and clang
This commit is contained in:
parent
675e7a641a
commit
fd986dae06
8 changed files with 31 additions and 22 deletions
|
@ -706,11 +706,12 @@ int Q_isalpha( int c )
|
|||
qboolean Q_isanumber( const char *s )
|
||||
{
|
||||
char *p;
|
||||
double UNUSED_VAR d;
|
||||
|
||||
if( *s == '\0' )
|
||||
return qfalse;
|
||||
|
||||
strtod( s, &p );
|
||||
d = strtod( s, &p );
|
||||
|
||||
return *p == '\0';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue