mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 13:42:02 +00:00
TSAGE: Stop shadowing local variables
This commit is contained in:
parent
7407a48cd3
commit
a5598aaaa8
@ -200,11 +200,11 @@ struct DecodeReference {
|
|||||||
*/
|
*/
|
||||||
byte *TLib::getResource(uint16 id, bool suppressErrors) {
|
byte *TLib::getResource(uint16 id, bool suppressErrors) {
|
||||||
// Scan for an entry for the given Id
|
// Scan for an entry for the given Id
|
||||||
ResourceEntry *re= NULL;
|
ResourceEntry *re = NULL;
|
||||||
ResourceList::iterator i;
|
ResourceList::iterator iter;
|
||||||
for (i = _resources.begin(); i != _resources.end(); ++i) {
|
for (iter = _resources.begin(); iter != _resources.end(); ++iter) {
|
||||||
if ((*i).id == id) {
|
if ((*iter).id == id) {
|
||||||
re = &(*i);
|
re = &(*iter);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user