summaryrefslogtreecommitdiff
path: root/lib/fuzzer/FuzzerUtilWindows.cpp
diff options
context:
space:
mode:
authorJonathan Metzman <metzman@chromium.org>2019-02-26 17:46:13 +0000
committerJonathan Metzman <metzman@chromium.org>2019-02-26 17:46:13 +0000
commitb0a95e5eed14c4ff518e28b585e84c0210595240 (patch)
tree8b99e97f26622ff6fa001a96cf4767be5d521769 /lib/fuzzer/FuzzerUtilWindows.cpp
parent07073dea5b327352287e029d8a53c0f5c04c8486 (diff)
downloadcompiler-rt-b0a95e5eed14c4ff518e28b585e84c0210595240.tar.gz
[libFuzzer] Remove extra semicolons
Summary: Remove extra semicolons so that libFuzzer can compile with -Werror -Wextra-semi Reviewers: Dor1s, morehouse, thakis Reviewed By: Dor1s, morehouse Subscribers: jdoerfert, #sanitizers, llvm-commits Tags: #sanitizers, #llvm Differential Revision: https://reviews.llvm.org/D58674 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@354902 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerUtilWindows.cpp')
-rw-r--r--lib/fuzzer/FuzzerUtilWindows.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/fuzzer/FuzzerUtilWindows.cpp b/lib/fuzzer/FuzzerUtilWindows.cpp
index 75b43f7a1..074e1eb42 100644
--- a/lib/fuzzer/FuzzerUtilWindows.cpp
+++ b/lib/fuzzer/FuzzerUtilWindows.cpp
@@ -85,11 +85,11 @@ void CALLBACK AlarmHandler(PVOID, BOOLEAN) {
class TimerQ {
HANDLE TimerQueue;
public:
- TimerQ() : TimerQueue(NULL) {};
+ TimerQ() : TimerQueue(NULL) {}
~TimerQ() {
if (TimerQueue)
DeleteTimerQueueEx(TimerQueue, NULL);
- };
+ }
void SetTimer(int Seconds) {
if (!TimerQueue) {
TimerQueue = CreateTimerQueue();
@@ -104,7 +104,7 @@ class TimerQ {
Printf("libFuzzer: CreateTimerQueueTimer failed.\n");
exit(1);
}
- };
+ }
};
static TimerQ Timer;