Bug 94328 - [BlackBerry][EFL] Remove compile warning in WebCore
Summary: [BlackBerry][EFL] Remove compile warning in WebCore
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-17 03:47 PDT by Kangil Han
Modified: 2012-08-17 16:37 PDT (History)
4 users (show)

See Also:


Attachments
patch (2.15 KB, patch)
2012-08-17 03:56 PDT, Kangil Han
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kangil Han 2012-08-17 03:47:43 PDT
Fixed compile time warning in WebCore.
Comment 1 Kangil Han 2012-08-17 03:56:33 PDT
Created attachment 159075 [details]
patch
Comment 2 Rob Buis 2012-08-17 07:53:16 PDT
Comment on attachment 159075 [details]
patch

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

> Source/WebCore/ChangeLog:13
> +        (WebCore::HarfBuzzShaper::selectionRect): âtoXâ may be used uninitialized in this function [-Wuninitialized], âfromXâ may be used uniniti

Some problems with quotes?

> Source/WebCore/platform/efl/RenderThemeEfl.cpp:455
> +            EINA_LOG_ERR("Could not set file: %s", errmsg);

Is this part of the patch?

> Source/WebCore/platform/graphics/harfbuzz/ng/HarfBuzzShaper.cpp:407
> +    float toX = 0;

This part is fine.
Comment 3 Raphael Kubo da Costa (:rakuco) 2012-08-17 09:09:30 PDT
Comment on attachment 159075 [details]
patch

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

>> Source/WebCore/platform/efl/RenderThemeEfl.cpp:455
>> +            EINA_LOG_ERR("Could not set file: %s", errmsg);
> 
> Is this part of the patch?

In a way yes, as those error values were obtained in the previous lines but not used/reported anywhere.
Comment 4 Rob Buis 2012-08-17 14:42:09 PDT
(In reply to comment #3)
> (From update of attachment 159075 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=159075&action=review
> 
> >> Source/WebCore/platform/efl/RenderThemeEfl.cpp:455
> >> +            EINA_LOG_ERR("Could not set file: %s", errmsg);
> > 
> > Is this part of the patch?
> 
> In a way yes, as those error values were obtained in the previous lines but not used/reported anywhere.

Thanks, I see now that it is a warning fix.
Comment 5 Rob Buis 2012-08-17 14:42:30 PDT
Comment on attachment 159075 [details]
patch

LGTM.
Comment 6 WebKit Review Bot 2012-08-17 16:37:02 PDT
Comment on attachment 159075 [details]
patch

Clearing flags on attachment: 159075

Committed r125948: <http://trac.webkit.org/changeset/125948>
Comment 7 WebKit Review Bot 2012-08-17 16:37:07 PDT
All reviewed patches have been landed.  Closing bug.