Bug 5146 - Remove last of warnings under gcc 4.6.1 for Linux, patch by q3urt.undead@gmail.com
This commit is contained in:
parent
c1b3b6f0be
commit
52aed503b5
7 changed files with 22 additions and 30 deletions
|
@ -706,12 +706,11 @@ int Q_isalpha( int c )
|
|||
qboolean Q_isanumber( const char *s )
|
||||
{
|
||||
char *p;
|
||||
double d;
|
||||
|
||||
if( *s == '\0' )
|
||||
return qfalse;
|
||||
|
||||
d = strtod( s, &p );
|
||||
strtod( s, &p );
|
||||
|
||||
return *p == '\0';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue