From be258c655701b249e741bbe676dc7cba6bd0e836 Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Sun, 29 Sep 2024 23:00:00 +0100 Subject: [PATCH] graphics/grOGL1.c: non-void function does not return a value Making oglSetProjection() return void, like toglSetProjection() SonarCloud graphics/grOGL1.c:408 non-void function does not return a value https://sonarcloud.io/project/issues?open=AZJB16z6NGfDNup0Riro&id=dlmiles_magic --- graphics/grOGL1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/grOGL1.c b/graphics/grOGL1.c index ab505b9f..ae18c04e 100644 --- a/graphics/grOGL1.c +++ b/graphics/grOGL1.c @@ -375,7 +375,7 @@ glTransYs(int wy) * Set the OpenGL viewport (projection matrix) for the current window *---------------------------------------------------------------------- */ -int +void oglSetProjection(llx, lly, width, height) int llx, lly, width, height; {