17
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-11-02 02:19:13 +01:00

refactor(sonar): make read-only global tables const (cpp:S5421)

Mutable global state (flags, timers, singletons) is left as is.
This commit is contained in:
jerrrrycho
2026-10-10 17:36:32 +02:00
parent 2afa42c6b7
commit 7fc738fb58
9 changed files with 9 additions and 9 deletions

View File

@@ -12,7 +12,7 @@ enum class driver_hint {
#ifdef DRIVER_HINT_CONTENT
#define DRIVER_HINT_DEF(a, b) b,
const char *driver_hints_texts[] =
const char *const driver_hints_texts[] =
{
#include "application/driverhints_def.h"
};