mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
Fix some cases of variables being used uninitialized. Also some unused
variables, writeable strings and dangerously shadowed variables. index(), gamma(), exp() and y0() are POSIX functions and using those names can cause namespace confusion. A number of C files were missing the final newline required by ANSI C and some versions of GCC are pedantic enough to complain about this. These changes simply the scons build, allowing us to get rid of filterWarnings which is simply more trouble than it's worth. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5574 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -238,8 +238,8 @@ ControlState ControllerInterface::InputReference::State( const ControlState igno
|
||||
if ( NULL == device )
|
||||
return 0;
|
||||
|
||||
ControlState state;
|
||||
// this mode thing will be turned into a switch statement
|
||||
ControlState state = 0;
|
||||
|
||||
switch ( mode )
|
||||
{
|
||||
// OR
|
||||
|
Reference in New Issue
Block a user