diff options
author | dcheng <dcheng@chromium.org> | 2015-07-08 01:12:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-07-08 08:13:36 +0000 |
commit | 5111996850ca220174e6f55350ad1e2d9099dfc6 (patch) | |
tree | 4f156893efbe5467c7cf0fcf7f5231213689caf0 /win8 | |
parent | f4222a3a241a499415ca55c05cbc1a7c37a9e504 (diff) | |
download | chromium_src-5111996850ca220174e6f55350ad1e2d9099dfc6.zip chromium_src-5111996850ca220174e6f55350ad1e2d9099dfc6.tar.gz chromium_src-5111996850ca220174e6f55350ad1e2d9099dfc6.tar.bz2 |
Fix remaining warnings for -Wmissing-braces and enable on win clang.
Missing braces have been located and restored to their rightful
positions.
BUG=505297
TBR=aboxhall,ananta,atwilson,hajimehoshi,jamiewalch,vitalybuka
Review URL: https://codereview.chromium.org/1216413002
Cr-Commit-Position: refs/heads/master@{#337781}
Diffstat (limited to 'win8')
-rw-r--r-- | win8/metro_driver/chrome_app_view_ash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win8/metro_driver/chrome_app_view_ash.cc b/win8/metro_driver/chrome_app_view_ash.cc index 5ec2b20..776f23e 100644 --- a/win8/metro_driver/chrome_app_view_ash.cc +++ b/win8/metro_driver/chrome_app_view_ash.cc @@ -94,7 +94,7 @@ const int kChromeChannelPollTimerMs = 100; // modifiers: Combination with Alt, Ctrl, Shift, etc. void SendKeySequence( WORD mnemonic_char, KeyModifier modifiers) { - INPUT keys[4] = {0}; // Keyboard events + INPUT keys[4] = {}; // Keyboard events int key_count = 0; // Number of generated events if (modifiers & SHIFT) { |