Skip to content

Commit aeeac6d

Browse files
author
George Karpenkov
committedJul 4, 2018
[libFuzzer] [NFC] Inline static variable to avoid the linker warning.
Differential Revision: https://reviews.llvm.org/D48650 llvm-svn: 336238
1 parent 5e4ca9f commit aeeac6d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

‎compiler-rt/lib/fuzzer/FuzzerCommand.h

+1-2
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ class Command final {
2929
// is immutable, meaning this flag effectively marks the end of the mutable
3030
// argument list.
3131
static inline const char *ignoreRemainingArgs() {
32-
static const char *kIgnoreRemaining = "-ignore_remaining_args=1";
33-
return kIgnoreRemaining;
32+
return "-ignore_remaining_args=1";
3433
}
3534

3635
Command() : CombinedOutAndErr(false) {}

0 commit comments

Comments
 (0)
Please sign in to comment.