Bug 118263 - createOffScreenContext has unreachable code
Summary: createOffScreenContext has unreachable code
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows 7
: P3 Trivial
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-01 14:48 PDT by Alex Christensen
Modified: 2013-07-01 15:45 PDT (History)
3 users (show)

See Also:


Attachments
Patch (1.25 KB, patch)
2013-07-01 14:50 PDT, Alex Christensen
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Christensen 2013-07-01 14:48:48 PDT
GLPlatformContext.cpp makes two return statements in a row in the function createOffScreenContext if we're using GLX or EGL.  This makes a warning in Visual Studio when compiling with WebGL enabled.
Comment 1 Alex Christensen 2013-07-01 14:50:09 PDT
Created attachment 205837 [details]
Patch
Comment 2 WebKit Commit Bot 2013-07-01 15:45:29 PDT
Comment on attachment 205837 [details]
Patch

Clearing flags on attachment: 205837

Committed r152268: <http://trac.webkit.org/changeset/152268>
Comment 3 WebKit Commit Bot 2013-07-01 15:45:31 PDT
All reviewed patches have been landed.  Closing bug.