[libFuzzer] [NFC] Inline static variable to avoid the linker warning.
Differential Revision: https://reviews.llvm.org/D48650
llvm-svn: 336238
GitOrigin-RevId: aeeac6d41ce2db11e5e72a21f197e46dd724950c
diff --git a/FuzzerCommand.h b/FuzzerCommand.h
index c5500ed..255f571 100644
--- a/FuzzerCommand.h
+++ b/FuzzerCommand.h
@@ -29,8 +29,7 @@
// 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) {}