Change MuJoCo engine source code function-spacing convention from 3 blank lines to 2

PiperOrigin-RevId: 813754244
Change-Id: I6836e41c3b021cb727e922c25c60f629b9814c93
This commit is contained in:
Yuval Tassa
2025-10-01 07:57:17 -07:00
committed by Copybara-Service
parent c439628f82
commit edbdb5195c
36 changed files with 8 additions and 651 deletions
-5
View File
@@ -114,7 +114,6 @@ void mju_writeLog(const char* type, const char* msg) {
}
void mju_error_raw(const char* msg) {
if (_mjPRIVATE_tls_error_fn) {
_mjPRIVATE_tls_error_fn(msg);
@@ -131,7 +130,6 @@ void mju_error_raw(const char* msg) {
}
void mju_error_v(const char* msg, va_list args) {
// Format msg into errmsg
char errmsg[1024];
@@ -140,7 +138,6 @@ void mju_error_v(const char* msg, va_list args) {
}
// write message to logfile and console, pause and exit
void mju_error(const char* msg, ...) {
va_list args;
@@ -150,7 +147,6 @@ void mju_error(const char* msg, ...) {
}
// write message to logfile and console
void mju_warning(const char* msg, ...) {
char wrnmsg[1024];
@@ -197,7 +193,6 @@ void mju_warning_s(const char* msg, const char* text) {
}
//------------------------------ malloc and free ---------------------------------------------------
// allocate memory; byte-align on 64; pad size to multiple of 64