From d2bc932090d1b341921e50191fe1568820f05ca5 Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Thu, 17 Jan 2019 07:52:12 +0100 Subject: executor: unbreak on OpenBSD Commit b5df78dc ("all: support extra coverage") broke the executor on OpenBSD: executor/executor.cc:61:11: error: unused variable 'kExtraCoverSize' [-Werror,-Wunused-const-variable] const int kExtraCoverSize = 256 << 10; --- executor/common_linux.h | 1 + executor/executor.cc | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'executor') diff --git a/executor/common_linux.h b/executor/common_linux.h index 78d1e82a1..b6860e30d 100644 --- a/executor/common_linux.h +++ b/executor/common_linux.h @@ -9,6 +9,7 @@ #include #if SYZ_EXECUTOR +const int kExtraCoverSize = 256 << 10; struct cover_t; static void cover_reset(cover_t* cov); #endif diff --git a/executor/executor.cc b/executor/executor.cc index a0357c188..d1d1f2694 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -58,7 +58,6 @@ const int kOutPipeFd = kMaxFd - 2; // remapped from stdout const int kCoverFd = kOutPipeFd - kMaxThreads; const int kMaxArgs = 9; const int kCoverSize = 256 << 10; -const int kExtraCoverSize = 256 << 10; const int kFailStatus = 67; const int kRetryStatus = 69; const int kErrorStatus = 68; -- cgit mrf-deployment