Index: base/command_line.cc |
diff --git a/base/command_line.cc b/base/command_line.cc |
index c991959d6911bf545f994b3e6d0833f793cc7cf0..8b45c36e79efb87203240c3849d94c3d7736e39c 100644 |
--- a/base/command_line.cc |
+++ b/base/command_line.cc |
@@ -149,10 +149,7 @@ string16 QuoteForCommandLineToArgvW(const string16& arg, |
} // namespace |
-CommandLine::CommandLine(NoProgram no_program) |
- : argv_(1), |
- begin_args_(1) { |
-} |
+CommandLine::CommandLine(NoProgram) : argv_(1), begin_args_(1) {} |
CommandLine::CommandLine(const FilePath& program) |
: argv_(1), |
@@ -444,6 +441,9 @@ CommandLine::StringType CommandLine::GetCommandLineStringInternal( |
CommandLine::StringType CommandLine::GetArgumentsStringInternal( |
bool quote_placeholders) const { |
+#if !defined(OS_WIN) |
+ (void)quote_placeholders; // Avoid an unused warning. |
+#endif |
StringType params; |
// Append switches and arguments. |
bool parse_switches = true; |