[Scummvm-git-logs] scummvm master -> 252a4ecff4dac7a7f171f4198a00ac499a02a164
aquadran
noreply at scummvm.org
Sat Feb 7 18:23:54 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
252a4ecff4 TINYGL: Fixed uninitialized 'pz' variable warnings
Commit: 252a4ecff4dac7a7f171f4198a00ac499a02a164
https://github.com/scummvm/scummvm/commit/252a4ecff4dac7a7f171f4198a00ac499a02a164
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2026-02-07T19:23:50+01:00
Commit Message:
TINYGL: Fixed uninitialized 'pz' variable warnings
Changed paths:
graphics/tinygl/ztriangle.cpp
diff --git a/graphics/tinygl/ztriangle.cpp b/graphics/tinygl/ztriangle.cpp
index 55f7cd836f4..f3c24a70093 100644
--- a/graphics/tinygl/ztriangle.cpp
+++ b/graphics/tinygl/ztriangle.cpp
@@ -485,7 +485,7 @@ void FrameBuffer::fillTriangle(ZBufferPoint *p0, ZBufferPoint *p1, ZBufferPoint
int x = x1;
if (colorMode == ColorMode::NoInterpolation) {
int n;
- uint *pz;
+ uint *pz = nullptr;
byte *ps = nullptr;
uint z;
n = (x2 >> 16) - x1;
@@ -522,7 +522,7 @@ void FrameBuffer::fillTriangle(ZBufferPoint *p0, ZBufferPoint *p1, ZBufferPoint
x += 1;
}
} else if (!(kInterpST || kInterpSTZ)) {
- uint *pz;
+ uint *pz = nullptr;
byte *ps = nullptr;
int pp;
uint z, r, g, b, a, fog;
@@ -575,7 +575,7 @@ void FrameBuffer::fillTriangle(ZBufferPoint *p0, ZBufferPoint *p1, ZBufferPoint
x += 1;
}
} else if (kInterpST || kInterpSTZ) {
- uint *pz;
+ uint *pz = nullptr;
byte *ps = nullptr;
int s, t;
uint z, r, g, b, a, fog;
More information about the Scummvm-git-logs
mailing list