From 00c98a50ef0781b34fb6c5623da96b5c9dc9fb3e Mon Sep 17 00:00:00 2001 From: Gideon Serfontein Date: Thu, 2 Oct 2025 17:47:20 +0200 Subject: [PATCH] Remove unused MAX_SLICES constant --- examples/shapes/shapes_pie_chart.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/shapes/shapes_pie_chart.c b/examples/shapes/shapes_pie_chart.c index beac362e5..68993ed01 100644 --- a/examples/shapes/shapes_pie_chart.c +++ b/examples/shapes/shapes_pie_chart.c @@ -31,11 +31,10 @@ int main(void) //-------------------------------------------------------------------------------------- const int screenWidth = 800; const int screenHeight = 450; - const int MAX_SLICES = 10; InitWindow(screenWidth, screenHeight, "raylib [shapes] example - interactive pie chart"); -#define MAX_SLICES 10 + #define MAX_SLICES 10 int sliceCount = 7; float values[MAX_SLICES] = {300.0f, 100.0f, 450.0f, 350.0f, 600.0f, 380.0f, 750.0f}; //initial slice values char labels[MAX_SLICES][32];