Commit 4b3f0d6ddb928019d9f73f7d47381d823a254797

Philipp Wiesemann 2015-01-16T23:03:14

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/test/testautomation_video.c b/test/testautomation_video.c
index f90ff5c..cfc4a23 100644
--- a/test/testautomation_video.c
+++ b/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];