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

Issue 10830022: Fixed check return warnings from Coverity. (Closed)

Created:
8 years, 5 months ago by Danh Nguyen
Modified:
8 years, 4 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Fixed the following warnings: CID=104268,104216,104131,104058 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148638

Patch Set 1 #

Total comments: 8

Patch Set 2 : Updated per review comments. #

Total comments: 2

Patch Set 3 : Fixed a nit: adding braces. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -4 lines) Patch
M chrome/browser/policy/managed_mode_policy_provider.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/policy/policy_loader_win.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/value_store/testing_value_store.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Danh Nguyen
Hi Lei, Mattias, I need your help to review these changes from today's chrome-lax Coverity ...
8 years, 5 months ago (2012-07-25 23:47:27 UTC) #1
Lei Zhang
LGTM with mnissler's approval. Also, please change the CL description to something other than "coverity ...
8 years, 5 months ago (2012-07-25 23:50:29 UTC) #2
Mattias Nissler (ping if slow)
I'm pretty sure the DCHECKS are wrong here, but adding people who wrote this code ...
8 years, 5 months ago (2012-07-26 09:37:06 UTC) #3
Joao da Silva
As Mattias mentioned, DCHECKing is not correct in these cases, as failure is an expected ...
8 years, 5 months ago (2012-07-26 10:04:33 UTC) #4
Danh Nguyen
Thank you Lei, Mattias and Joao for your reviews and your advices. I should have ...
8 years, 4 months ago (2012-07-26 15:46:27 UTC) #5
Joao da Silva
policy/ lgtm with nit http://codereview.chromium.org/10830022/diff/6002/chrome/browser/policy/policy_loader_win.cc File chrome/browser/policy/policy_loader_win.cc (right): http://codereview.chromium.org/10830022/diff/6002/chrome/browser/policy/policy_loader_win.cc#newcode92 chrome/browser/policy/policy_loader_win.cc:92: !key->Valid()) Nit: add braces when ...
8 years, 4 months ago (2012-07-26 16:19:02 UTC) #6
Danh Nguyen
Thanks Joao for your quick response. I appreciate that very much. Nit fixed. Thanks, Danh ...
8 years, 4 months ago (2012-07-26 17:08:04 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danhn@chromium.org/10830022/5002
8 years, 4 months ago (2012-07-26 17:26:49 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danhn@chromium.org/10830022/5002
8 years, 4 months ago (2012-07-26 21:30:41 UTC) #9
commit-bot: I haz the power
8 years, 4 months ago (2012-07-26 22:40:25 UTC) #10
Change committed as 148638

Powered by Google App Engine
This is Rietveld 408576698