Changeset 29078 in webkit
- Timestamp:
- Jan 1, 2008 11:03:21 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r29077 r29078 1 2008-01-01 Darin Adler <darin@apple.com> 2 3 - fix release build 4 5 * bindings/js/kjs_binding.cpp: 6 (KJS::setDOMException): Initialize to avoid uninitialized variable warning. 7 Removed default so we get a warning if there's a missing case. 8 1 9 2008-01-01 David D. Kilzer <ddkilzer@webkit.org> 2 10 -
trunk/WebCore/bindings/js/kjs_binding.cpp
r29073 r29078 1 1 /* 2 2 * Copyright (C) 1999-2001 Harri Porten (porten@kde.org) 3 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 4 4 * Copyright (C) 2007 Samuel Weinig <sam@webkit.org> 5 5 * … … 287 287 getExceptionCodeDescription(ec, description); 288 288 289 JSValue* errorObject ;289 JSValue* errorObject = 0; 290 290 switch (description.type) { 291 291 case DOMExceptionType: … … 311 311 break; 312 312 #endif 313 default: 314 ASSERT_NOT_REACHED(); 315 } 316 313 } 314 315 ASSERT(errorObject); 317 316 exec->setException(errorObject); 318 317 }
Note: See TracChangeset
for help on using the changeset viewer.