mirror of https://github.com/encounter/SDL.git
Fixed two warnings about initialized but unused local variables in tests.
This commit is contained in:
parent
775a5aa554
commit
4b3f0d6ddb
|
@ -541,7 +541,6 @@ video_getWindowBrightnessNegative(void *arg)
|
||||||
{
|
{
|
||||||
const char *invalidWindowError = "Invalid window";
|
const char *invalidWindowError = "Invalid window";
|
||||||
char *lastError;
|
char *lastError;
|
||||||
const char* title = "video_getWindowBrightnessNegative Test Window";
|
|
||||||
float result;
|
float result;
|
||||||
|
|
||||||
/* Call against invalid window */
|
/* Call against invalid window */
|
||||||
|
@ -728,7 +727,6 @@ video_getWindowGammaRamp(void *arg)
|
||||||
int
|
int
|
||||||
video_getWindowGammaRampNegative(void *arg)
|
video_getWindowGammaRampNegative(void *arg)
|
||||||
{
|
{
|
||||||
const char* title = "video_getWindowGammaRampNegative Test Window";
|
|
||||||
Uint16 red[256];
|
Uint16 red[256];
|
||||||
Uint16 green[256];
|
Uint16 green[256];
|
||||||
Uint16 blue[256];
|
Uint16 blue[256];
|
||||||
|
|
Loading…
Reference in New Issue