mirror of
https://github.com/pspdev/pspsdk.git
synced 2025-10-03 08:41:34 +00:00
fix: replace a statement by an assigment
The statement had no effect. It's in a block intended for initialization (as shown in the line 639) so an assigment was probably the intended behaviour. The graphical output is the same with or without this patch. Detected by a warning from gcc: spharm.c: In function ‘SpharmGenTest’: spharm.c:640:15: warning: statement with no effect [-Wunused-value] 640 | objtype == 0; | ~~~~~~~~^~~~
This commit is contained in:
@@ -637,7 +637,7 @@ void SpharmGenTest(int rendermode)
|
||||
//objtype = 6; // make sure we end up back in same spot
|
||||
} break;
|
||||
default: // none found, so move to next one, and trigger re-gen
|
||||
objtype == 0;
|
||||
objtype = 0;
|
||||
inited = 0;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user