enabled and fixed constVariable Cppcheck warnings

This commit is contained in:
firewave
2026-03-04 15:44:28 +01:00
parent fea345d75a
commit 64154ea66d
6 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -364,7 +364,7 @@ int main(int argc, char **argv)
"capslock", "capslockaltgr", "shiftcapslock", "shiftcapslockaltgr",
"numlock"
};
int states[NUM_STATES] = {0, 1, 0x80, 0x81, 2, 0x82, 3, 0x83, 0x10};
const int states[NUM_STATES] = {0, 1, 0x80, 0x81, 2, 0x82, 3, 0x83, 0x10};
int idx;
Display *dpy = NULL;
FILE *outf = NULL;