[lasem] tests: avoid unused but set warning.



commit 23702c8b82cc8d5e7453d813fb13d036aab746c2
Author: Emmanuel Pacaud <emmanuel gnome org>
Date:   Sun Jan 6 18:52:33 2013 +0100

    tests: avoid unused but set warning.
    
    We don't really care about the result of the system calls here.

 tests/lsmtest.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/lsmtest.c b/tests/lsmtest.c
index e9fa1b6..ea18ac8 100644
--- a/tests/lsmtest.c
+++ b/tests/lsmtest.c
@@ -404,7 +404,7 @@ lasem_test_render (char const *filename, gboolean compare, gboolean dry_run, Sta
 
 		if (!is_xml && !g_file_test (reference_png_filename, G_FILE_TEST_IS_REGULAR) && !dry_run) {
 			FILE *file;
-			int result;
+			int result __attribute__((unused));
 			char *cmd;
 
 			file = fopen ("lsmmathmltest.tmp", "w");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]