On Fri, 17 Mar 2017 16:51:15 +0100 Olivier Matz <[email protected]> wrote:
> +static int
> +__rte_log_register(const char *name, int id)
> +{
> + char *dup_name = NULL;
> +
> + dup_name = strdup(name);
Useless initialization!
Many people were taught to always initialize variables. But that was before
compilers were smart enough to catch those errors.

