about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/marathon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/marathon.c b/src/marathon.c
index d7da799..c0507e2 100644
--- a/src/marathon.c
+++ b/src/marathon.c
@@ -24,6 +24,7 @@ void leaderboard_record(int Score) {
 
     /* Init Camera */
     Camera2D MainCamera;
+		(void)MainCamera; /* Works-around unused variable compiler warning. */
         MainCamera.target = (Vector2){0, 0};
         MainCamera.offset = (Vector2){0, 0};
         MainCamera.rotation = 0;
@@ -112,6 +113,7 @@ void marathon_main() {
         MainCamera.rotation = 0;
     bool MarathonGoing = true;
 	bool HasScored = false;
+	(void)HasScored;
 	Vector2 MouseCurrentPosition = GetMousePosition();
     while(MarathonGoing == true && GameGoing == true) {
         if (WindowShouldClose()) { /* Quit Game if the window is closed. */