added return keyword, fixes #1797

This commit is contained in:
Juan Linietsky 2015-05-04 00:53:33 -03:00
parent e7aa37fe75
commit 442febd2ae

View file

@ -532,7 +532,7 @@ bool Variant::is_zero() const {
} break;
case QUAT: {
*reinterpret_cast<const Quat*>(_data._mem)==Quat();
return *reinterpret_cast<const Quat*>(_data._mem)==Quat();
} break;
case MATRIX3: {