Browse Source

Merge pull request #1924 from apjanke/fix-unused-param-warning

Fix unused-parameter warning in duk_push_class_string_tval
pull/1443/merge
Sami Vaarala 7 years ago
committed by GitHub
parent
commit
26f0069378
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      AUTHORS.rst
  2. 2
      src-input/duk_api_stack.c

1
AUTHORS.rst

@ -52,6 +52,7 @@ and agreed to irrevocably license their contributions under the Duktape
* Christopher Hiller (https://github.com/boneskull)
* Gonzalo Diethelm (https://github.com/gonzus)
* Michal Kasperek (https://github.com/michalkas)
* Andrew Janke (https://github.com/apjanke)
Other contributions
===================

2
src-input/duk_api_stack.c

@ -3287,6 +3287,8 @@ DUK_INTERNAL void duk_push_class_string_tval(duk_hthread *thr, duk_tval *tv, duk
}
duk_pop_unsafe(thr);
}
#else
DUK_UNREF(avoid_side_effects);
#endif
h_obj = duk_known_hobject(thr, -1);

Loading…
Cancel
Save