projects
/
simgear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
686f095
)
Fix a clang warning
author
James Turner
<zakalawe@mac.com>
Sat, 11 Apr 2015 20:58:23 +0000
(21:58 +0100)
committer
James Turner
<zakalawe@mac.com>
Sat, 11 Apr 2015 20:58:23 +0000
(21:58 +0100)
simgear/structure/SGSmplhist.cxx
patch
|
blob
|
history
diff --git
a/simgear/structure/SGSmplhist.cxx
b/simgear/structure/SGSmplhist.cxx
index 8a976cea8485131d706f61530897ee22651bba6b..769d25646fe40b1e822c1bfa66d478b440477aac 100644
(file)
--- 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;
}