about summary refs log tree commit diff homepage
path: root/tools/klee-replay/file-creator.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/klee-replay/file-creator.c')
-rw-r--r--tools/klee-replay/file-creator.c2
1 files changed, 2 insertions, 0 deletions
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);
       }