From e1ae72a5f65e7466d48416d3b301c2e39f6d2e25 Mon Sep 17 00:00:00 2001 From: "Marco Antonio J. Costa" Date: Wed, 22 Jul 2026 12:08:40 -0300 Subject: [PATCH] remove an array declared with neither a size nor an initializer char team_names[][30];//hayden need client_names with AI This is not a declaration of anything. C would treat it as a tentative definition and settle on one element; C++ requires a size or an initializer, and clang says so. MSVC accepts it quietly. Nothing in the tree reads or writes team_names, and the comment reads as a note to self rather than a feature. Rather than guess a size for an array nobody uses, it goes. Verification: grep -rn 'team_names' --include=*.cpp --include=*.h . # nothing ninja -C build parse # client.cpp clean ninja -C build -k 0 # Release, four applications, green ninja -C build-debug -k 0 # Debug, four applications, green Co-Authored-By: Claude Opus 4.8 --- Multiplayer/client.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/Multiplayer/client.cpp b/Multiplayer/client.cpp index c1f1d84ad..41296acce 100644 --- a/Multiplayer/client.cpp +++ b/Multiplayer/client.cpp @@ -553,8 +553,6 @@ bullets_table bTable[11][50]; char client_names[4][30]; -char team_names[][30];//hayden need client_names with AI - // OJW - 20081204 int client_ready[4]; int client_edges[5];