about summary refs log tree commit diff homepage
path: root/include
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2023-03-27 15:01:29 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2023-04-06 16:03:03 +0300
commit2769f1f4dc3515a8b5fc22ccf3e30b906faef75d (patch)
treef1e9d59d75ec718f53a8b6915e32dba01a6793e0 /include
parenta46b8059ba5f8b5759813d142018478d4b72db71 (diff)
downloadklee-2769f1f4dc3515a8b5fc22ccf3e30b906faef75d.tar.gz
Mark variable as potentially unused
Diffstat (limited to 'include')
-rw-r--r--include/klee/KDAlloc/mapping.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/klee/KDAlloc/mapping.h b/include/klee/KDAlloc/mapping.h
index 4afc9d86..f566a211 100644
--- a/include/klee/KDAlloc/mapping.h
+++ b/include/klee/KDAlloc/mapping.h
@@ -139,7 +139,7 @@ public:
     [[maybe_unused]] int rc = ::munmap(baseAddress, size);
     assert(rc == 0 && "munmap failed");
     baseAddress = MAP_FAILED;
-    auto success = try_map(address);
+    [[maybe_unused]] auto success = try_map(address);
     assert(success && "could not recreate the mapping");
 #endif
   }