зеркало из https://github.com/mozilla/gecko-dev.git
Avoid MSVC bogo-warning.
This commit is contained in:
Родитель
15eddaa53e
Коммит
75a8745d3d
|
@ -401,7 +401,7 @@ js_WrapWatchedSetter(JSContext *cx, jsid id, uintN attrs, JSPropertyOp setter)
|
|||
JSFunction *wrapper;
|
||||
|
||||
if (!(attrs & JSPROP_SETTER))
|
||||
return js_watch_set;
|
||||
return &js_watch_set; /* & to silence schoolmarmish MSVC */
|
||||
|
||||
if (!JSVAL_IS_INT(id)) {
|
||||
atom = (JSAtom *)id;
|
||||
|
|
Загрузка…
Ссылка в новой задаче