diff --git a/c-programming/experiments/clock-malfunction-imitation.c b/c-programming/experiments/clock-malfunction-imitation.c index 984a79b..38b1b4e 100644 --- a/c-programming/experiments/clock-malfunction-imitation.c +++ b/c-programming/experiments/clock-malfunction-imitation.c @@ -46,9 +46,8 @@ time_t clock_change_time(time_t* x) { if (ticks_before_accident == 0) { y = 0; - size_t max = sizeof(time_t) / sizeof(int); - printf("max of clock_change_time = %zu\n", max); - size_t intmax_plus_1 = (size_t) INT_MAX + 1; + size_t max = sizeof(time_t) / sizeof(int), + intmax_plus_1 = (size_t) INT_MAX + 1; for (size_t i = 0; i < max; i++) y |= (rand() & INT_MAX) * intmax_plus_1;