Fixed two warnings about initialized but unused local variables in tests.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Fri, 16 Jan 2015 23:03:14 +0100
changeset 9310 01f418c16580
parent 9309 221b071c37d6
child 9311 a4b031e28de8
Fixed two warnings about initialized but unused local variables in tests.
test/testautomation_video.c
--- a/test/testautomation_video.c	Mon Jan 12 23:20:52 2015 +0100
+++ b/test/testautomation_video.c	Fri Jan 16 23:03:14 2015 +0100
@@ -541,7 +541,6 @@
 {
   const char *invalidWindowError = "Invalid window";
   char *lastError;
-  const char* title = "video_getWindowBrightnessNegative Test Window";
   float result;
 
   /* Call against invalid window */
@@ -728,7 +727,6 @@
 int
 video_getWindowGammaRampNegative(void *arg)
 {
-  const char* title = "video_getWindowGammaRampNegative Test Window";
   Uint16 red[256];
   Uint16 green[256];
   Uint16 blue[256];