From 2c6f9de020b3abd9571feb63b8b54e29a86c9d75 Mon Sep 17 00:00:00 2001 From: James Turner Date: Sat, 11 Apr 2015 21:58:23 +0100 Subject: [PATCH] Fix a clang warning --- simgear/structure/SGSmplhist.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simgear/structure/SGSmplhist.cxx b/simgear/structure/SGSmplhist.cxx index 8a976cea..769d2564 100644 --- a/simgear/structure/SGSmplhist.cxx +++ b/simgear/structure/SGSmplhist.cxx @@ -116,7 +116,7 @@ void SampleHistogram::reset () this->SampleStatistic::reset (); if (howManyBuckets > 0) { - for (register int i = 0; i < howManyBuckets; i++) + for (int i = 0; i < howManyBuckets; i++) { bucketCount[i] = 0; } -- 2.39.5