[Webkit-unassigned] [Bug 131728] [WebKit] Cleanup the build from uninitialized variable in JavaScriptCore
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Apr 16 10:04:20 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=131728
--- Comment #1 from Mark Hahnenberg <mhahnenberg at apple.com> 2014-04-16 10:04:39 PST ---
(In reply to comment #0)
> Found uninitialized variable used in JavaScriptCore/runtime/JSObject.cpp during webkit-efl port build.
>
> /home/shiva.jm/webkit-git/svngit/WebKit/Source/JavaScriptCore/runtime/JSObject.cpp:824:17: warning: āvā is used uninitialized in this function [-Wuninitialized]
> JSValue v;
This seems wrong. JSValue has a default constructor, so it's not uninitialized. Sounds like your compiler is confused.
One thing that might be worth fixing which would incidentally shut the compiler up is do add a default case with a RELEASE_ASSERT. If we don't hit a case in the switch statement then we have a debug ASSERT that will fire. Might as well add the release assert inside the branch that we'll never take.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list