- Fix some GCC 4.7.1 warnings.
SVN r3747 (trunk)
This commit is contained in:
parent
f0d60ddcee
commit
fd784b05c2
18 changed files with 38 additions and 37 deletions
|
|
@ -1032,7 +1032,7 @@ FxCompareRel::FxCompareRel(int o, FxExpression *l, FxExpression *r)
|
|||
FxExpression *FxCompareRel::Resolve(FCompileContext& ctx)
|
||||
{
|
||||
CHECKRESOLVED();
|
||||
if (!ResolveLR(ctx, true)) return false;
|
||||
if (!ResolveLR(ctx, true)) return NULL;
|
||||
|
||||
if (!ValueType.isNumeric())
|
||||
{
|
||||
|
|
@ -1126,7 +1126,7 @@ FxExpression *FxCompareEq::Resolve(FCompileContext& ctx)
|
|||
{
|
||||
CHECKRESOLVED();
|
||||
|
||||
if (!ResolveLR(ctx, true)) return false;
|
||||
if (!ResolveLR(ctx, true)) return NULL;
|
||||
|
||||
if (!left || !right)
|
||||
{
|
||||
|
|
@ -1229,7 +1229,7 @@ FxBinaryInt::FxBinaryInt(int o, FxExpression *l, FxExpression *r)
|
|||
FxExpression *FxBinaryInt::Resolve(FCompileContext& ctx)
|
||||
{
|
||||
CHECKRESOLVED();
|
||||
if (!ResolveLR(ctx, false)) return false;
|
||||
if (!ResolveLR(ctx, false)) return NULL;
|
||||
|
||||
if (ctx.lax && ValueType == VAL_Float)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue