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

Issue 3473006: Fix a bunch of clang warnings/errors. (Closed)

Created:
10 years, 3 months ago by Nico
Modified:
9 years, 7 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, ben+cc_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org, pam+watch_chromium.org, jshin+watch_chromium.org
Visibility:
Public.

Description

Fix a bunch of clang warnings/errors. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60109

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -104 lines) Patch
M app/l10n_util.cc View 2 chunks +2 lines, -0 lines 1 comment Download
M base/mac_util.mm View 3 chunks +5 lines, -4 lines 0 comments Download
M base/mach_ipc_mac.h View 1 chunk +0 lines, -6 lines 0 comments Download
M base/scoped_nsobject.h View 3 chunks +21 lines, -14 lines 1 comment Download
M base/third_party/dmg_fp/dtoa.cc View 1 chunk +1 line, -1 line 2 comments Download
M chrome/browser/cocoa/applescript/bookmark_folder_applescript.h View 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/cocoa/sidebar_controller.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/cocoa/tabpose_window.h View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/download/download_manager.cc View 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/net/gaia/token_service.h View 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/net/gaia/token_service.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/renderer_host/render_widget_host_view_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/spellcheck_host.cc View 1 chunk +2 lines, -0 lines 1 comment Download
M chrome/browser/tab_contents/tab_contents.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M chrome/browser/web_applications/web_app.cc View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/common/net/gaia/google_service_auth_error.h View 1 chunk +1 line, -1 line 0 comments Download
M net/disk_cache/entry_impl.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M net/http/http_auth_gssapi_posix.cc View 1 chunk +0 lines, -36 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Nico
Mostly "unused function", but also some other stuff.
10 years, 3 months ago (2010-09-21 00:19:42 UTC) #1
Mark Mentovai
LGTM. Windows try failure doesn’t look relevant. http://codereview.chromium.org/3473006/diff/1/5 File base/scoped_nsobject.h (right): http://codereview.chromium.org/3473006/diff/1/5#newcode86 base/scoped_nsobject.h:86: void swap(scoped_nsobject<C>& ...
10 years, 3 months ago (2010-09-21 18:40:01 UTC) #2
Evan Martin
I think we should disable the unused function warning for now. http://codereview.chromium.org/3473006/diff/1/2 File app/l10n_util.cc (right): ...
10 years, 3 months ago (2010-09-21 18:52:20 UTC) #3
Nico
On Tue, Sep 21, 2010 at 11:52 AM, <evan@chromium.org> wrote: > I think we should ...
10 years, 3 months ago (2010-09-21 20:26:21 UTC) #4
Evan Martin
10 years, 3 months ago (2010-09-21 20:51:31 UTC) #5
On 2010/09/21 20:26:21, Nico wrote:
> It successfully compiles with the warning for me by now. In the
> process I removed an unused function in googleurl and there's quite a
> bit of red in this patch because of it. Seems like having the warning
> is a good thing?

Wow, these are the only unused functions?  I guess it's ok then

Powered by Google App Engine
This is Rietveld 408576698