[Tarantool-patches] [PATCH] json: fix assert typo in json_path_cmp()

Kirill Yukhin kyukhin at tarantool.org
Tue Nov 12 13:05:20 MSK 2019


Hello,

On 11 ноя 18:06, Nikita Pettik wrote:
>    284  int
>    285  json_path_cmp(const char *a, int a_len, const char *b, int b_len,
>    286                int index_base)
>    287  {
> 
>   ...
> 
>    304          /* Paths a and b must be valid. */
>    305          assert(rc_b == 0 && rc_b == 0);
> 
> Obviously (according to the comment) author implied that both rc_a == 0
> and rc_b == 0. Let's fix this small typo.

Just check it in as obvious.

--
Regards, Kirill Yukhin


More information about the Tarantool-patches mailing list