More warnings, similar issues.
This commit is contained in:
parent
e26481cf0a
commit
0c109dabbb
2 changed files with 3 additions and 1 deletions
|
@ -70,6 +70,7 @@ private:
|
|||
//
|
||||
struct NasalTimer {
|
||||
virtual void timerExpired();
|
||||
virtual ~NasalTimer() {}
|
||||
naRef handler;
|
||||
int gcKey;
|
||||
FGNasalSys* nasal;
|
||||
|
|
|
@ -97,8 +97,9 @@ static naRef f_getValue(naContext c, naRef me, int argc, naRef* args)
|
|||
case SGPropertyNode::STRING:
|
||||
case SGPropertyNode::UNSPECIFIED:
|
||||
return NASTR((*node)->getStringValue());
|
||||
default:
|
||||
return naNil();
|
||||
}
|
||||
return naNil();
|
||||
}
|
||||
|
||||
static naRef f_setValue(naContext c, naRef me, int argc, naRef* args)
|
||||
|
|
Loading…
Add table
Reference in a new issue