From a0ef60efe708aa8307c6ce9fb278b5c295b94f70 Mon Sep 17 00:00:00 2001 From: tosh Date: Wed, 27 Mar 2013 04:49:40 +0100 Subject: [PATCH] removes duplicate local declarations --- shared/src/FloodFill.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/shared/src/FloodFill.h b/shared/src/FloodFill.h index a63bcad936..d4e1431d0e 100644 --- a/shared/src/FloodFill.h +++ b/shared/src/FloodFill.h @@ -44,10 +44,9 @@ struct floodFill_impl : Strategy process(position); - Cursor higher = position, lower = position; - bool higher_found = false; - bool lower_found = false; + higher = position; higher_found = false; up(higher); yTest(higher, higher_found); + lower = position; lower_found = false; down(lower); yTest(lower, lower_found); i = position, h = higher, l = lower;