16 Commits
Author SHA1 Message Date
RaceTheMaSe 6f754e5c03 Fix warnings: extra semi - spurious (#15014) 2026-02-09 11:48:58 -08:00
RaceTheMaSe f1a7a64eb4 Fix warnings: Extra semi - macro usage (#15015) 2026-02-08 16:58:53 -08:00
Max Seidenstücker 0c121ad6a7 conditional expression is constant
MSVC: C4127: conditional expression is constant
2026-02-08 09:38:35 -08:00
Max Seidenstücker d063cb01e9 variable conditionally uninitialized
currentX and currentY in L2263-L2264 are marked as conditionally uninitialized by MSVC and Clang

Clang: variable may be uninitialized when used here [-Wconditional-uninitialized]
2026-02-08 09:35:07 -08:00
RaceTheMaSe c15ca27740 dialog_utils: fix NameTransform() function pointer type (#15002) 2026-02-07 23:23:47 +03:00
RaceTheMaSe ba3274e3a1 hidapi, windows: Fix -Wjump-misses-init warning (#14990)
Clang: jump from this goto statement to its label is incompatible with C++ [-Wjump-misses-init]
2026-02-07 21:10:50 +03:00
RaceTheMaSe 7c7ffb9115 tests: Fix unreachable code warnings (#14993) 2026-02-07 20:42:59 +03:00
RaceTheMaSe 863912aa03 PS2, VITA: Fix void pointer arithmetic warnings (#14995) 2026-02-07 20:39:33 +03:00
RaceTheMaSe 4f183506f6 Fix warning: strict prototypes (#14992)
clang: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
2026-02-07 07:38:59 -08:00
Max Seidenstücker 8f8880a8eb Merge all occurances of __func__ and __FUNCTION__ to SDL_FUNCTION 2026-02-07 07:34:11 -08:00
Max Seidenstücker d870911202 CodeSpell 2026-02-07 18:14:00 +03:00
Max Seidenstücker 8b53b77058 annotate no return
Clang: function could be declared with attribute 'noreturn' [-Wmissing-noreturn]
2026-02-07 18:10:02 +03:00
Max Seidenstücker 144ab4ba99 Void function return
Clang: void function should not return void expression [-Wpedantic]
2026-02-07 18:06:10 +03:00
Max Seidenstücker 0c7d4d5a89 Static at beginning
GCC: 'static' is not at beginning of declaration [-Wold-style-declaration]
2026-02-07 18:05:39 +03:00
RaceTheMaSe 9fda8f2669 Fix -Wnewline-eof warnings (#14989) 2026-02-07 18:04:18 +03:00
Max Seidenstücker bf58ff81d8 comma at end of enum
GCC: comma at end of enumerator list [-Wpedantic]
2026-02-07 15:54:13 +01:00