Skip to content

Commit

Permalink
[libFuzzer] [NFC] Inline static variable to avoid the linker warning.
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.llvm.org/D48650

llvm-svn: 336238
  • Loading branch information
George Karpenkov committed Jul 4, 2018
1 parent 5e4ca9f commit aeeac6d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compiler-rt/lib/fuzzer/FuzzerCommand.h
Expand Up @@ -29,8 +29,7 @@ class Command final {
// is immutable, meaning this flag effectively marks the end of the mutable
// argument list.
static inline const char *ignoreRemainingArgs() {
static const char *kIgnoreRemaining = "-ignore_remaining_args=1";
return kIgnoreRemaining;
return "-ignore_remaining_args=1";
}

Command() : CombinedOutAndErr(false) {}
Expand Down

0 comments on commit aeeac6d

Please sign in to comment.