diff options
author | Mariusz PluciĆski <mplucinski@mplucinski.com> | 2014-07-25 17:16:26 +0200 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2014-11-25 08:28:24 -0500 |
commit | fef17765ca418361dd1260ae012d8f4a15d7f93c (patch) | |
tree | 2659c713ba9972c858061daa1a51b6767f6998c7 /tests/header_r_main.c | |
parent | 9ba547712870d4bc690ef9b712950e9df9a707dc (diff) |
Remove a few `unused variable` warnings
Diffstat (limited to 'tests/header_r_main.c')
-rw-r--r-- | tests/header_r_main.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/header_r_main.c b/tests/header_r_main.c index 661457a..22b397d 100644 --- a/tests/header_r_main.c +++ b/tests/header_r_main.c @@ -21,6 +21,8 @@ * PURPOSE. */ +#include <assert.h> + #include "header_r_scanner.h" /* The scanner itself is not important here. @@ -43,7 +45,9 @@ main ( int argc, char** argv ) testset_extra(extra,scanner); fp = testget_in(scanner); + assert(fp == stdin); fp = testget_out(scanner); + assert(fp == stdout); while(testlex(scanner)) { char * text; @@ -61,6 +65,3 @@ main ( int argc, char** argv ) printf("TEST RETURNING OK.\n"); return 0; } - - -/* vim:set tabstop=8 softtabstop=4 shiftwidth=4: */ |