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

Issue 155022: Fix few trivial Coverity issues, mainly PASS_BY_VALUE. (Closed)

Created:
11 years, 5 months ago by Paweł Hajdan Jr.
Modified:
9 years, 7 months ago
Reviewers:
huanr
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix few trivial Coverity issues, mainly PASS_BY_VALUE. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19974

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -10 lines) Patch
M base/directory_watcher_unittest.cc View 1 chunk +4 lines, -1 line 0 comments Download
M base/file_path.cc View 1 chunk +1 line, -1 line 0 comments Download
M base/simple_thread.h View 1 chunk +1 line, -1 line 0 comments Download
M base/tracked_objects.h View 2 chunks +3 lines, -3 lines 0 comments Download
M base/tracked_objects.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M net/base/x509_certificate.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Paweł Hajdan Jr.
I started looking at Coverity. This patch is very trivial, just to get started. Please ...
11 years, 5 months ago (2009-07-02 22:54:51 UTC) #1
huanr
11 years, 5 months ago (2009-07-02 23:02:19 UTC) #2
LGTM. For PASS_BY_VALUE issues, you can mark the defects as 
Classification = False, Action = Fix. Basically this means False positive and
the code is correct. However we can make suitable change to remove the defect.

Powered by Google App Engine
This is Rietveld 408576698