Cleanup: silence unreferenced param warning in MSVC

This warning appears when the `WITH_BULLET` option is off.
This commit is contained in:
Germano Cavalcante
2023-03-09 12:49:55 -03:00
committed by Germano Cavalcante
parent b7679addd2
commit e699bd780c

View File

@@ -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)