Fix a compiler warning
The warning is false, init of spd can't be avoided if is_string=false.
This commit is contained in:
parent
04d7e60fe1
commit
ae71090387
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ namespace
|
|||
|
||||
int ss_setspeed(lua::state& L, lua::parameters& P)
|
||||
{
|
||||
double spd;
|
||||
double spd = 0;
|
||||
std::string special;
|
||||
bool is_string = false;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue