From c26ef21ee2eafd0abe64b77d88735fe59b64cbf3 Mon Sep 17 00:00:00 2001 From: Nicolas Cornu Date: Sat, 7 Dec 2024 08:22:34 +0100 Subject: [PATCH] Update solve.cpp --- src/nrnoc/solve.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/nrnoc/solve.cpp b/src/nrnoc/solve.cpp index 1a2e94e129..bfde846479 100644 --- a/src/nrnoc/solve.cpp +++ b/src/nrnoc/solve.cpp @@ -736,12 +736,9 @@ void section_order(void) /* create a section order consistent */ { int order, isec; Section* ch; - hoc_Item* qsec; /* count the sections */ section_count = 0; - /*SUPPRESS 765*/ - // ForAllSections(sec) for (Section* sec: range_sec(section_list)) { sec->order = -1; ++section_count; @@ -765,8 +762,6 @@ void section_order(void) /* create a section order consistent */ for (isec = 0; isec < section_count; isec++) { if (isec >= order) { - // Sections form a loop. - // ForAllSections(sec) for (Section* sec: range_sec(section_list)) { Section *psec, *s = sec; for (psec = sec->parentsec; psec; s = psec, psec = psec->parentsec) {