| Summary: | SDL_windowswindow.c and SDL_mmjoystick.c are has shadowed declarison warnings | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Vitaly Novichkov <admin> |
| Component: | video | Assignee: | Sam Lantinga <slouken> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | icculus |
| Version: | HG 2.1 | ||
| Hardware: | All | ||
| OS: | Windows (All) | ||
|
Description
Vitaly Novichkov
2018-03-27 08:01:16 UTC
Warnings are annoying yes, but those actually look harmless. It's not just a most familiar "unused" warning: Shadowed variables are jerks and may confuse you when you want to access variables with the same name in the parent scope. This is fixed in https://hg.libsdl.org/SDL/rev/0e37a23d93cb, thanks! --ryan. |