diff options
author | Daniel Schemmel <daniel@schemmel.net> | 2023-03-24 04:45:44 +0000 |
---|---|---|
committer | Cristian Cadar <c.cadar@imperial.ac.uk> | 2023-03-26 16:04:22 +0100 |
commit | 7c9ce86abd16624a6d6ee509b3dce86d191568ca (patch) | |
tree | 874248dcf0afbff72a04d036357a152be7f48c80 /tools/klee-replay | |
parent | 721b2fc39451ecfc4cb84ec32138011f160913f8 (diff) | |
download | klee-7c9ce86abd16624a6d6ee509b3dce86d191568ca.tar.gz |
fix unused variables warning
Diffstat (limited to 'tools/klee-replay')
-rw-r--r-- | tools/klee-replay/file-creator.c | 2 |
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); } |