From 302151ec61c575695ef1b8da3ef5bcd433d37677 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Mon, 30 Oct 2017 09:34:47 +0100 Subject: [PATCH] Declare parameters as const, and make comment match the code. --- teshsuite/xbt/parallel_log_crashtest/parallel_log_crashtest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teshsuite/xbt/parallel_log_crashtest/parallel_log_crashtest.c b/teshsuite/xbt/parallel_log_crashtest/parallel_log_crashtest.c index b51973990a..dc863824b7 100644 --- a/teshsuite/xbt/parallel_log_crashtest/parallel_log_crashtest.c +++ b/teshsuite/xbt/parallel_log_crashtest/parallel_log_crashtest.c @@ -11,8 +11,8 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(synchro_crashtest, "Logs of this example"); -int test_amount = 99; /* Up to 999 to not break the logs (and thus the testing mechanism) */ -int crasher_amount = 99; /* Up to 99 to not break the logs (and thus the testing mechanism) */ +const int test_amount = 99; /* Up to 99 to not break the logs (and thus the testing mechanism) */ +const int crasher_amount = 99; /* Up to 99 to not break the logs (and thus the testing mechanism) */ int *id; /* to pass a pointer to the threads without race condition */ int more_info = 0; /* SET IT TO TRUE TO GET MORE INFO */ -- 2.20.1