From af3233f98d60d763e821e6b2af58605a4798f705 Mon Sep 17 00:00:00 2001 From: Yuval Tassa Date: Tue, 2 Jul 2024 03:31:20 -0700 Subject: [PATCH] Delete unused code. PiperOrigin-RevId: 648658198 Change-Id: I1bec6b07becd7cec22af4c67e9cc1a9bcda669b0 --- src/user/user_model.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/user/user_model.cc b/src/user/user_model.cc index 953d3bfd..2d43da6b 100644 --- a/src/user/user_model.cc +++ b/src/user/user_model.cc @@ -3181,9 +3181,6 @@ mjModel* mjCModel::Compile(const mjVFS* vfs, mjModel** m) { errInfo = mjCError(); warningtext[0] = 0; - // init random number generator, to make textures reproducible - srand(123); - try { if (setjmp(error_jmp_buf) != 0) { // TryCompile resulted in an mju_error which was converted to a longjmp.