Cleanup: silence unreferenced param warning in MSVC
This warning appears when the `WITH_BULLET` option is off.
This commit is contained in:
committed by
Germano Cavalcante
parent
b7679addd2
commit
e699bd780c
@@ -2275,6 +2275,9 @@ void BKE_rigidbody_do_simulation(Depsgraph *depsgraph, Scene *scene, float ctime
|
||||
# if defined(__GNUC__) || defined(__clang__)
|
||||
# pragma GCC diagnostic push
|
||||
# pragma GCC diagnostic ignored "-Wunused-parameter"
|
||||
# elif defined(_MSC_VER)
|
||||
/* Suppress unreferenced formal parameter warning. */
|
||||
# pragma warning(disable : 4100)
|
||||
# endif
|
||||
|
||||
void BKE_rigidbody_object_copy(Main *bmain, Object *ob_dst, const Object *ob_src, const int flag)
|
||||
|
||||
Reference in New Issue
Block a user