Преглед на файлове

Fixed two warnings about initialized but unused local variables in tests.

Philipp Wiesemann преди 10 години
родител
ревизия
4b3f0d6ddb
променени са 1 файла, в които са добавени 0 реда и са изтрити 2 реда
  1. 0 2
      test/testautomation_video.c

+ 0 - 2
test/testautomation_video.c

@@ -541,7 +541,6 @@ video_getWindowBrightnessNegative(void *arg)
 {
   const char *invalidWindowError = "Invalid window";
   char *lastError;
-  const char* title = "video_getWindowBrightnessNegative Test Window";
   float result;
 
   /* Call against invalid window */
@@ -728,7 +727,6 @@ video_getWindowGammaRamp(void *arg)
 int
 video_getWindowGammaRampNegative(void *arg)
 {
-  const char* title = "video_getWindowGammaRampNegative Test Window";
   Uint16 red[256];
   Uint16 green[256];
   Uint16 blue[256];