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

Issue 1700853002: avoid 'may be used uninitialized' warnings in work_queue.cc (Closed)

Created:
4 years, 10 months ago by Mostyn Bramley-Moore
Modified:
4 years, 10 months ago
Reviewers:
Sami
CC:
chromium-reviews, scheduler-bugs_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

avoid 'may be used uninitialized' warnings in work_queue.cc GCC gives 'may be used uninitialized' warnings for enqueue_order and other_enqueue_order, so let's ensure that they're initialized. Committed: https://crrev.com/d5256aa193b1777896a458de2c547bea003c977a Cr-Commit-Position: refs/heads/master@{#375558}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M components/scheduler/base/work_queue.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Mostyn Bramley-Moore
@Sami: please take a look at this tiny GCC fixup.
4 years, 10 months ago (2016-02-15 19:47:42 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1700853002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1700853002/1
4 years, 10 months ago (2016-02-15 19:47:58 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-15 20:57:54 UTC) #7
Sami
Thanks, lgtm. I wonder why GCC can't figure out that these variables will always be ...
4 years, 10 months ago (2016-02-16 12:06:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1700853002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1700853002/1
4 years, 10 months ago (2016-02-16 13:33:35 UTC) #10
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 10 months ago (2016-02-16 13:38:14 UTC) #12
Mostyn Bramley-Moore
> I wonder why GCC can't figure out that these variables will always be > ...
4 years, 10 months ago (2016-02-16 13:39:08 UTC) #13
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:52:26 UTC) #15
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/d5256aa193b1777896a458de2c547bea003c977a
Cr-Commit-Position: refs/heads/master@{#375558}

Powered by Google App Engine
This is Rietveld 408576698