summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Morehouse <mascasa@google.com>2017-12-04 20:06:52 +0000
committerMatt Morehouse <mascasa@google.com>2017-12-04 20:06:52 +0000
commit0234ef5fc965f8b87cd249997459dd885602972d (patch)
treea49489dadb6881f65bad256eb3760af84f2c0d20
parentbc006e169dc47ec8ba126da92795ff025e980678 (diff)
[libFuzzer] Remove const from ignoreRemainingArgs return value.
In this case const does nothing but trigger a warning. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@319685 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/fuzzer/FuzzerCommand.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fuzzer/FuzzerCommand.h b/lib/fuzzer/FuzzerCommand.h
index 2e674ee39..358f89094 100644
--- a/lib/fuzzer/FuzzerCommand.h
+++ b/lib/fuzzer/FuzzerCommand.h
@@ -28,8 +28,8 @@ public:
// This command line flag is used to indicate that the remaining command line
// is immutable, meaning this flag effectively marks the end of the mutable
// argument list.
- static inline const char *const ignoreRemainingArgs() {
- static const char *const kIgnoreRemaining = "-ignore_remaining_args=1";
+ static inline const char *ignoreRemainingArgs() {
+ static const char *kIgnoreRemaining = "-ignore_remaining_args=1";
return kIgnoreRemaining;
}