From: James Turner Date: Sat, 11 Apr 2015 20:58:23 +0000 (+0100) Subject: Fix a clang warning X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2c6f9de020b3abd9571feb63b8b54e29a86c9d75;p=simgear.git Fix a clang warning --- 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; }