From badfdf4dba1fa0a15bd78163c1713ada5e65cd22 Mon Sep 17 00:00:00 2001 From: Robert Fancsik Date: Fri, 5 Nov 2021 14:15:47 +0100 Subject: Replace vera++ with clang-format (#4518) JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik robert.fancsik@h-lab.eu --- jerry-ext/arg/arg-js-iterator-helper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'jerry-ext/arg/arg-js-iterator-helper.c') diff --git a/jerry-ext/arg/arg-js-iterator-helper.c b/jerry-ext/arg/arg-js-iterator-helper.c index ad8aa8db..c6ef2a4d 100644 --- a/jerry-ext/arg/arg-js-iterator-helper.c +++ b/jerry-ext/arg/arg-js-iterator-helper.c @@ -13,9 +13,10 @@ * limitations under the License. */ +#include "jerryscript.h" + #include "arg-internal.h" #include "jerryscript-ext/arg.h" -#include "jerryscript.h" /** * Pop the current JS argument from the iterator. @@ -62,8 +63,7 @@ jerryx_arg_js_iterator_restore (jerryx_arg_js_iterator_t *js_arg_iter_p) /**< th jerry_value_t jerryx_arg_js_iterator_peek (jerryx_arg_js_iterator_t *js_arg_iter_p) /**< the JS arg iterator */ { - return (js_arg_iter_p->js_arg_idx < js_arg_iter_p->js_arg_cnt ? *js_arg_iter_p->js_arg_p - : jerry_create_undefined ()); + return (js_arg_iter_p->js_arg_idx < js_arg_iter_p->js_arg_cnt ? *js_arg_iter_p->js_arg_p : jerry_create_undefined ()); } /* jerryx_arg_js_iterator_peek */ /** -- cgit v1.2.3