diff --git a/src/builtin.c b/src/builtin.c index dd4f5d0e34..f0680ebbd0 100644 --- a/src/builtin.c +++ b/src/builtin.c @@ -792,7 +792,7 @@ static jv f_bsearch(jq_state *jq, jv input, jv target) { return jv_number(-1); } else if (len == 1) { int result = jv_cmp(target, jv_array_get(input, 0)); - if (result == 0 ) { + if (result == 0) { return jv_number(0); } else if (result > 0) { return jv_number(-2); @@ -804,26 +804,26 @@ static jv f_bsearch(jq_state *jq, jv input, jv target) { int start = 0; int end = len - 1; jv answer = jv_null(); - while (start