cleaned some code

This commit is contained in:
punkrockguy318 2008-06-10 18:09:46 +00:00
parent 284740c373
commit a4647ef3e2
1 changed files with 3 additions and 2 deletions

View File

@ -94,11 +94,12 @@ static DECLFR(JPRead)
ret|=joyports[A&1].driver->Read(A&1); ret|=joyports[A&1].driver->Read(A&1);
/* this code effectively does nothing as zzz is never used
if(!(A&1) && ret) if(!(A&1) && ret)
{ {
int zzz=9; int zzz=9;
} }
*/
if(portFC.driver) if(portFC.driver)
ret = portFC.driver->Read(A&1,ret); ret = portFC.driver->Read(A&1,ret);
@ -822,7 +823,7 @@ FCEUI_LoadMovie(0, 0, 0);
static void CommandSoundAdjust(void) static void CommandSoundAdjust(void)
{ {
int n; int n=0;
switch(execcmd) switch(execcmd)
{ {
case EMUCMD_SOUND_VOLUME_UP: n=1; break; case EMUCMD_SOUND_VOLUME_UP: n=1; break;