Fix minor compiler warnings
This commit is contained in:
@@ -391,7 +391,7 @@ void test_addChild()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool ensureNListeners(SGPropertyNode* node, unsigned int n)
|
bool ensureNListeners(SGPropertyNode* node, int n)
|
||||||
{
|
{
|
||||||
if (node->nListeners() != n) {
|
if (node->nListeners() != n) {
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@@ -139,7 +139,6 @@ void SGSampleGroup::update( double dt ) {
|
|||||||
|
|
||||||
sample_map_iterator sample_current = _samples.begin();
|
sample_map_iterator sample_current = _samples.begin();
|
||||||
sample_map_iterator sample_end = _samples.end();
|
sample_map_iterator sample_end = _samples.end();
|
||||||
size_t i = 0;
|
|
||||||
for ( ; sample_current != sample_end; ++sample_current ) {
|
for ( ; sample_current != sample_end; ++sample_current ) {
|
||||||
SGSoundSample *sample = sample_current->second;
|
SGSoundSample *sample = sample_current->second;
|
||||||
|
|
||||||
@@ -395,4 +394,3 @@ bool SGSampleGroup::testForMgrError(std::string s)
|
|||||||
_smgr->testForError(s+" (sample group)", _refname);
|
_smgr->testForError(s+" (sample group)", _refname);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user