[LEDE-DEV] [PATCH] libubox: Fix cppcheck warnings

Rafał Miłecki zajec5 at gmail.com
Wed Dec 14 01:54:59 PST 2016


On 14 December 2016 at 06:47, Rosen Penev <rosenp at gmail.com> wrote:
> @@ -44,7 +44,10 @@ void *__calloc_a(size_t len, ...)
>
>         ptr = calloc(1, alloc_len);
>         if (!ptr)
> +       {
> +               va_end(ap);
>                 return NULL;
> +       }

Please following coding style used across the whole project and put
opening bracket in one line with "if"

-- 
Rafał



More information about the Lede-dev mailing list