]> git.mxchange.org Git - simgear.git/commitdiff
Fix a clang warning
authorJames Turner <zakalawe@mac.com>
Sat, 11 Apr 2015 20:58:23 +0000 (21:58 +0100)
committerJames Turner <zakalawe@mac.com>
Sat, 11 Apr 2015 20:58:23 +0000 (21:58 +0100)
simgear/structure/SGSmplhist.cxx

index 8a976cea8485131d706f61530897ee22651bba6b..769d25646fe40b1e822c1bfa66d478b440477aac 100644 (file)
@@ -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;
        }