Ignore:
Timestamp:
Apr 16, 2014, 11:09:56 AM (11 years ago)
Author:
[email protected]
Message:

[WebKit] Cleanup the build from uninitialized variable in JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=131728

Reviewed by Darin Adler.

  • runtime/JSObject.cpp:

(JSC::JSObject::genericConvertDoubleToContiguous): Add a RELEASE_ASSERT on the
path we expect to never take. Also shut up confused compilers about uninitialized things.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/JSObject.cpp

    r167313 r167364  
    829829        case RageConvertDoubleToValue:
    830830            v = jsNumber(value);
     831            break;
     832        default:
     833            v = JSValue();
     834            RELEASE_ASSERT_NOT_REACHED();
    831835            break;
    832836        }
Note: See TracChangeset for help on using the changeset viewer.