[libFuzzer] [NFC] Inline static variable to avoid the linker warning.

Differential Revision: https://reviews.llvm.org/D48650

llvm-svn: 336238
This commit is contained in:
George Karpenkov 2018-07-04 00:37:45 +00:00
parent 5e4ca9fc9f
commit aeeac6d41c
1 changed files with 1 additions and 2 deletions

View File

@ -29,8 +29,7 @@ public:
// 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) {}