From 0566428509476190bd2f5a9c72bf210604871721 Mon Sep 17 00:00:00 2001 From: Andreas Gattringer <andreas.gattringer@univie.ac.at> Date: Tue, 13 Jun 2023 17:33:40 +0200 Subject: [PATCH] butterflies: removed unused variable --- src/modules/butterflies/butterflies_populations.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/butterflies/butterflies_populations.c b/src/modules/butterflies/butterflies_populations.c index 2aebbda..8357aad 100644 --- a/src/modules/butterflies/butterflies_populations.c +++ b/src/modules/butterflies/butterflies_populations.c @@ -46,7 +46,8 @@ void bf_cell_maturation(struct cats_grid *grid, struct cats_thread_info *ts, cat exit(EXIT_FAILURE); } - int orig_eggs = data->eggs[row][col]; + //int orig_eggs = data->eggs[row][col]; + // the number of generations per cell is usually not an integer value // the non-integer part of the number of generations is used in the generation which is // one greater than the integer part of the number of generations -- GitLab