From 7c9ce86abd16624a6d6ee509b3dce86d191568ca Mon Sep 17 00:00:00 2001 From: Daniel Schemmel Date: Fri, 24 Mar 2023 04:45:44 +0000 Subject: fix unused variables warning --- tools/klee-replay/file-creator.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/klee-replay/file-creator.c b/tools/klee-replay/file-creator.c index 5e848964..02531ab6 100644 --- a/tools/klee-replay/file-creator.c +++ b/tools/klee-replay/file-creator.c @@ -172,6 +172,7 @@ static int create_char_dev(const char *fname, exe_disk_file_t *dfile, struct termios mode; int res = tcgetattr(aslave, &mode); + (void)res; assert(!res); mode.c_iflag = IGNBRK; #if defined(__APPLE__) || defined(__FreeBSD__) @@ -183,6 +184,7 @@ static int create_char_dev(const char *fname, exe_disk_file_t *dfile, mode.c_cc[VMIN] = 1; mode.c_cc[VTIME] = 0; res = tcsetattr(aslave, TCSANOW, &mode); + (void)res; assert(res == 0); } -- cgit 1.4.1