Bug 118050

Summary: [curl] Fix unused variable/parameter warnings
Product: WebKit Reporter: Peter Gal <galpeter>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, cdumez, commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 117300    
Attachments:
Description Flags
patch
none
patch v2 none

Description Peter Gal 2013-06-26 00:29:39 PDT
During the build there are a few warning reporting unused variable/parameter in the curl parts.
Comment 1 Peter Gal 2013-06-26 00:36:25 PDT
Created attachment 205459 [details]
patch

This should get rid of the warnings.
Comment 2 WebKit Commit Bot 2013-06-26 00:39:07 PDT
Attachment 205459 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/platform/network/curl/CredentialStorageCurl.cpp', u'Source/WebCore/platform/network/curl/DNSCurl.cpp', u'Source/WebCore/platform/network/curl/ResourceHandleManager.cpp']" exit_code: 1
Source/WebCore/platform/network/curl/ResourceHandleManager.cpp:118:  curl_lock_callback is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
Source/WebCore/platform/network/curl/ResourceHandleManager.cpp:124:  curl_unlock_callback is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
Total errors found: 2 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Peter Gal 2013-06-26 00:43:10 PDT
(In reply to comment #2)
> Attachment 205459 [details] did not pass style-queue:
> 
> Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/platform/network/curl/CredentialStorageCurl.cpp', u'Source/WebCore/platform/network/curl/DNSCurl.cpp', u'Source/WebCore/platform/network/curl/ResourceHandleManager.cpp']" exit_code: 1
> Source/WebCore/platform/network/curl/ResourceHandleManager.cpp:118:  curl_lock_callback is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
> Source/WebCore/platform/network/curl/ResourceHandleManager.cpp:124:  curl_unlock_callback is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
> Total errors found: 2 in 4 files
> 
> 
> If any of these errors are false positives, please file a bug against check-webkit-style.

I don't think we should address this in this patch.
Comment 4 Chris Dumez 2013-06-26 10:49:35 PDT
Comment on attachment 205459 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=205459&action=review

> Source/WebCore/ChangeLog:7
> +

Missing changelog.
Comment 5 Peter Gal 2013-06-27 02:26:36 PDT
Created attachment 205580 [details]
patch v2

now with "pretty changelog"
Comment 6 WebKit Commit Bot 2013-06-27 02:29:08 PDT
Attachment 205580 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCore/platform/network/curl/CredentialStorageCurl.cpp', u'Source/WebCore/platform/network/curl/DNSCurl.cpp', u'Source/WebCore/platform/network/curl/ResourceHandleManager.cpp']" exit_code: 1
Source/WebCore/platform/network/curl/ResourceHandleManager.cpp:118:  curl_lock_callback is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
Source/WebCore/platform/network/curl/ResourceHandleManager.cpp:124:  curl_unlock_callback is incorrectly named. Don't use underscores in your identifier names.  [readability/naming/underscores] [4]
Total errors found: 2 in 4 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 7 Chris Dumez 2013-06-27 02:45:55 PDT
Comment on attachment 205580 [details]
patch v2

ok, r=me.
Comment 8 WebKit Commit Bot 2013-06-27 03:28:42 PDT
Comment on attachment 205580 [details]
patch v2

Clearing flags on attachment: 205580

Committed r152087: <http://trac.webkit.org/changeset/152087>
Comment 9 WebKit Commit Bot 2013-06-27 03:28:45 PDT
All reviewed patches have been landed.  Closing bug.