summaryrefslogtreecommitdiffstats
path: root/base/command_line.cc
diff options
context:
space:
mode:
authormmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 03:12:41 +0000
committermmentovai@google.com <mmentovai@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-12 03:12:41 +0000
commit4e44b4d3cc5f4ea5c57ce9b495d1357563388962 (patch)
tree0a4909fc08d36dc16682e79ae8a9023370fbdfb3 /base/command_line.cc
parent67c72c75d2fde3ab75dd6e531dbc113d3fcfb6de (diff)
downloadchromium_src-4e44b4d3cc5f4ea5c57ce9b495d1357563388962.zip
chromium_src-4e44b4d3cc5f4ea5c57ce9b495d1357563388962.tar.gz
chromium_src-4e44b4d3cc5f4ea5c57ce9b495d1357563388962.tar.bz2
Fix command_line unit test now that argv is no longer const. (Doh!) Remove a technically illegal zero-length array. Fix a couple of warnings for good measure as long as I'm in here.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@701 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/command_line.cc')
-rw-r--r--base/command_line.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/command_line.cc b/base/command_line.cc
index 39a5e88..21c7470 100644
--- a/base/command_line.cc
+++ b/base/command_line.cc
@@ -91,7 +91,7 @@ class CommandLine::Data {
Init(command_line);
}
#elif defined(OS_POSIX)
- Data(const int argc, char** argv) {
+ Data(int argc, char** argv) {
Init(argc, argv);
}
#endif