Cleanup: compiler warnings
This commit is contained in:
parent
1f8cb90828
commit
d6570fcaed
|
@ -11,7 +11,7 @@
|
|||
# define ABORT_PREDICATE ::testing::KilledBySignal(SIGABRT)
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && !defined(__clang__)
|
||||
/* Disable since it's the purpose of this test. */
|
||||
# pragma GCC diagnostic ignored "-Walloc-size-larger-than="
|
||||
#endif
|
||||
|
|
|
@ -127,7 +127,7 @@ Relation *DepsgraphRelationBuilder::add_node_handle_relation(const KeyType &key_
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
static bool rigidbody_object_depends_on_evaluated_geometry(const RigidBodyOb *rbo)
|
||||
static inline bool rigidbody_object_depends_on_evaluated_geometry(const RigidBodyOb *rbo)
|
||||
{
|
||||
if (rbo == nullptr) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue