ddnet/src
bors[bot] 564a59d603
Merge #4845
4845: Enable -Wshadow=local r=Jupeyy a=def-

> Warn when a local variable shadows another local variable or parameter.

Found one actual bug in graphics_threaded.cpp

Should reduce confusion in the future when reading source code

<!-- What is the motivation for the changes of this pull request -->

## Checklist

- [ ] Tested the change ingame
- [ ] Provided screenshots if it is a visual change
- [ ] Tested in combination with possibly related configuration options
- [ ] Written a unit test if it works standalone, system.c especially
- [ ] Considered possible null pointers and out of bounds array indexing
- [ ] Changed no physics that affect existing maps
- [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--undefinedbehavioursanitizer-or-valgrinds-memcheck) (optional)


Co-authored-by: def <dennis@felsin9.de>
2022-03-20 16:45:22 +00:00
..
android Add Android build scripts 2021-08-24 12:18:20 +02:00
antibot Merge pull request #3961 from fokkonaut/pr-antibot 2021-12-19 19:33:56 +01:00
base Merge #4818 2022-03-20 10:27:18 +00:00
engine Merge #4845 2022-03-20 16:45:22 +00:00
game Merge #4845 2022-03-20 16:45:22 +00:00
macos OSX -> macOS 2021-02-12 13:41:41 +01:00
macoslaunch Better fixes 2022-01-26 11:01:11 +01:00
mastersrv Remove unused Flags argument in network code 2022-03-04 19:33:06 +01:00
steam Add modernize-deprecated-headers 2022-02-15 00:22:52 +01:00
test Add str_startswith_nocase and str_endswith_nocase 2022-03-13 11:42:45 +01:00
tools Enable -Wshadow=local 2022-03-20 13:24:34 +01:00
twping Remove unused Flags argument in network code 2022-03-04 19:33:06 +01:00