warning fixes

This commit is contained in:
torsten
2009-08-20 10:55:01 +00:00
committed by Tim Moore
parent a92955eade
commit a0a5eb8aef
2 changed files with 3 additions and 3 deletions

View File

@@ -173,7 +173,7 @@ public:
int woodcount = (int) (unit / wood_coverage);
for (unsigned j = 0; j < woodcount; j++) {
for (int j = 0; j < woodcount; j++) {
if (wood_size < area) {
// We need to place a wood within the triangle and populate it

View File

@@ -66,7 +66,7 @@ BoundingBox ShaderGeometry::computeBound() const
const Vec4Array* posScales = _posScaleArray.get();
if (!posScales)
return bb;
size_t numPosScales = posScales->size();
// size_t numPosScales = posScales->size();
for (Vec4Array::const_iterator iter = _posScaleArray->begin(),
e = _posScaleArray->end();
iter != e;
@@ -94,7 +94,7 @@ bool ShaderGeometry_readLocalData(Object& obj, Input& fr)
geom._geometry = drawable;
}
}
int capacity = 0;
// int capacity = 0;
if (fr.matchSequence("posScale %i {")) {
int entry = fr[1].getNoNestedBrackets();
int capacity;