Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(220)

Issue 1276633004: convince gcc that cpu_used et al are always initialized (Closed)

Created:
5 years, 4 months ago by Mostyn Bramley-Moore
Modified:
5 years, 4 months ago
CC:
chromium-reviews, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, jam, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

convince gcc that cpu_used et al are always initialized Without this, gcc thinks that min_quantizer, max_quantizer and cpu_used are used uninitialized and emits a warning which is promoted to an error. BUG=455409 TBR=bbudge Committed: https://crrev.com/2dc24b537c4fda93db4148c3f5d30bcaea5147d8 Cr-Commit-Position: refs/heads/master@{#342214}

Patch Set 1 #

Total comments: 1

Patch Set 2 : just zero values #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M content/renderer/pepper/video_encoder_shim.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (9 generated)
Mostyn Bramley-Moore
@bbudge: PTAL at this gcc fixup for https://codereview.chromium.org/1132833002. Without this, gcc gives the following warnings ...
5 years, 4 months ago (2015-08-06 06:31:21 UTC) #2
llandwerlin-old
Looks good to me, but I'm not an owner. Out of curiousity, is it with ...
5 years, 4 months ago (2015-08-06 09:57:14 UTC) #3
Mostyn Bramley-Moore
On 2015/08/06 09:57:14, llandwerlin wrote: > Looks good to me, but I'm not an owner. ...
5 years, 4 months ago (2015-08-06 10:02:16 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1276633004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1276633004/1
5 years, 4 months ago (2015-08-06 11:59:58 UTC) #6
bbudge-google
lgtm w/comment https://codereview.chromium.org/1276633004/diff/1/content/renderer/pepper/video_encoder_shim.cc File content/renderer/pepper/video_encoder_shim.cc (right): https://codereview.chromium.org/1276633004/diff/1/content/renderer/pepper/video_encoder_shim.cc#newcode82 content/renderer/pepper/video_encoder_shim.cc:82: *cpu_used = kVp9DefaultCpuUsed; nit: Just zero them ...
5 years, 4 months ago (2015-08-06 12:26:26 UTC) #8
Mostyn Bramley-Moore
On 2015/08/06 12:26:26, bbudge-google wrote: > nit: Just zero them to make it clear this ...
5 years, 4 months ago (2015-08-06 12:30:04 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1276633004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1276633004/20001
5 years, 4 months ago (2015-08-06 12:30:12 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/85666)
5 years, 4 months ago (2015-08-06 12:38:26 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1276633004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1276633004/20001
5 years, 4 months ago (2015-08-06 12:40:39 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/87335)
5 years, 4 months ago (2015-08-06 13:34:11 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1276633004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1276633004/20001
5 years, 4 months ago (2015-08-06 21:42:09 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 4 months ago (2015-08-06 22:24:33 UTC) #21
commit-bot: I haz the power
5 years, 4 months ago (2015-08-06 22:25:23 UTC) #22
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2dc24b537c4fda93db4148c3f5d30bcaea5147d8
Cr-Commit-Position: refs/heads/master@{#342214}

Powered by Google App Engine
This is Rietveld 408576698