summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordpranke@google.com <dpranke@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-15 11:40:24 +0000
committerdpranke@google.com <dpranke@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-15 11:40:24 +0000
commitdcf5d865d40ecb3db1d2220da2c0bc18600c6da5 (patch)
tree5938d5e672d16ba87d8940ccb40aa79f8126f665
parente239e19972f5dc800762d896a1940dda02d2c432 (diff)
downloadchromium_src-dcf5d865d40ecb3db1d2220da2c0bc18600c6da5.zip
chromium_src-dcf5d865d40ecb3db1d2220da2c0bc18600c6da5.tar.gz
chromium_src-dcf5d865d40ecb3db1d2220da2c0bc18600c6da5.tar.bz2
try again to fix compile w/ unused variables ...
R=TBR BUG=none TEST=none Review URL: http://codereview.chromium.org/203066 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26206 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/tools/test_shell/test_shell_main.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc
index a976427..f2adfe0 100644
--- a/webkit/tools/test_shell/test_shell_main.cc
+++ b/webkit/tools/test_shell/test_shell_main.cc
@@ -84,6 +84,9 @@ int main(int argc, char* argv[]) {
#if defined(OS_WIN)
bool generic_theme = (layout_test_mode && !ux_theme && !classic_theme) ||
parsed_command_line.HasSwitch(test_shell::kGenericTheme);
+#else
+ // Stop compiler warnings about unused variables.
+ ux_theme = ux_theme;
#endif
bool enable_gp_fault_error_box = false;