mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- fixed some GCC warnings.
This commit is contained in:
parent
a2100410f2
commit
3c1fa3bed9
2 changed files with 3 additions and 3 deletions
|
@ -314,7 +314,7 @@ int FSectorTagIterator::Next()
|
||||||
while (start >= 0 && tagManager.allTags[start].tag != searchtag) start = tagManager.allTags[start].nexttag;
|
while (start >= 0 && tagManager.allTags[start].tag != searchtag) start = tagManager.allTags[start].nexttag;
|
||||||
if (start == -1) return -1;
|
if (start == -1) return -1;
|
||||||
ret = tagManager.allTags[start].target;
|
ret = tagManager.allTags[start].target;
|
||||||
start = start = tagManager.allTags[start].nexttag;
|
start = tagManager.allTags[start].nexttag;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -348,6 +348,6 @@ int FLineIdIterator::Next()
|
||||||
while (start >= 0 && tagManager.allIDs[start].tag != searchtag) start = tagManager.allIDs[start].nexttag;
|
while (start >= 0 && tagManager.allIDs[start].tag != searchtag) start = tagManager.allIDs[start].nexttag;
|
||||||
if (start == -1) return -1;
|
if (start == -1) return -1;
|
||||||
int ret = tagManager.allIDs[start].target;
|
int ret = tagManager.allIDs[start].target;
|
||||||
start = start = tagManager.allIDs[start].nexttag;
|
start = tagManager.allIDs[start].nexttag;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
|
@ -304,7 +304,7 @@ class FMODStreamCapsule : public SoundStream
|
||||||
public:
|
public:
|
||||||
FMODStreamCapsule(FMOD::Sound *stream, FMODSoundRenderer *owner, const char *url)
|
FMODStreamCapsule(FMOD::Sound *stream, FMODSoundRenderer *owner, const char *url)
|
||||||
: Owner(owner), Stream(NULL), Channel(NULL),
|
: Owner(owner), Stream(NULL), Channel(NULL),
|
||||||
UserData(NULL), Callback(NULL), URL(url), Reader(NULL), Ended(false)
|
UserData(NULL), Callback(NULL), Reader(NULL), URL(url), Ended(false)
|
||||||
{
|
{
|
||||||
SetStream(stream);
|
SetStream(stream);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue