mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-31 16:03:24 +00:00
TONY: Fix compiler warnings about possible "used before set" variables.
Looking at this code and the code in clip2D, this shouldn't happen, but this will prevent any future issues.
This commit is contained in:
parent
8bf5a61278
commit
e9b04d018f
@ -582,7 +582,7 @@ RMGfxSourceBuffer8::~RMGfxSourceBuffer8() {
|
||||
}
|
||||
|
||||
void RMGfxSourceBuffer8::draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *prim) {
|
||||
int width, height, u, v;
|
||||
int width = 0, height = 0, u = 0, v = 0;
|
||||
int bufx = bigBuf.getDimx();
|
||||
uint16 *buf = bigBuf;
|
||||
byte *raw = _buf;
|
||||
@ -693,7 +693,7 @@ int RMGfxSourceBuffer8AB::calcTrasp(int fore, int back) {
|
||||
}
|
||||
|
||||
void RMGfxSourceBuffer8AB::draw(CORO_PARAM, RMGfxTargetBuffer &bigBuf, RMGfxPrimitive *prim) {
|
||||
int width, height, u, v;
|
||||
int width = 0, height = 0, u = 0, v = 0;
|
||||
int bufx = bigBuf.getDimx();
|
||||
uint16 *buf = bigBuf;
|
||||
byte *raw = _buf;
|
||||
|
Loading…
x
Reference in New Issue
Block a user