diff options
Diffstat (limited to 'progs/demos')
-rw-r--r-- | progs/demos/engine.c | 2 | ||||
-rw-r--r-- | progs/demos/texdown.c | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/progs/demos/engine.c b/progs/demos/engine.c index 5b9b5baa7b..14fd1e6862 100644 --- a/progs/demos/engine.c +++ b/progs/demos/engine.c @@ -554,7 +554,7 @@ SquareWithHole(float squareSize, float holeRadius) for (i = 0; i <= 360; i += 5) { const float x1 = holeRadius * cos(DEG_TO_RAD(i)); const float y1 = holeRadius * sin(DEG_TO_RAD(i)); - float x2, y2; + float x2 = 0.0F, y2 = 0.0F; if (i > 315 || i <= 45) { x2 = squareSize; y2 = squareSize * tan(DEG_TO_RAD(i)); diff --git a/progs/demos/texdown.c b/progs/demos/texdown.c index 5fecd9a148..7e46045832 100644 --- a/progs/demos/texdown.c +++ b/progs/demos/texdown.c @@ -154,11 +154,6 @@ static unsigned long align(unsigned long value, unsigned long a) return (value + a - 1) & ~(a-1); } -static int MIN2(int a, int b) -{ - return a < b ? a : b; -} - static void MeasureDownloadRate(void) { |