Re: [Qemu-devel] [PATCH] target-i386: Remove unused local_err variable

2016-11-27 Thread Markus Armbruster
Eduardo Habkost writes: > local_err can never be set to non-NULL. Remove the variable. > > Detected by Coverity: > > *** CID 1365201: Possible Control flow issues (DEADCODE) > /target-i386/cpu.c: 2050 in x86_cpu_parse_featurestr() > 2044 prop->value = g_strdup(val); >

[Qemu-devel] [PATCH] target-i386: Remove unused local_err variable

2016-11-25 Thread Eduardo Habkost
local_err can never be set to non-NULL. Remove the variable. Detected by Coverity: *** CID 1365201: Possible Control flow issues (DEADCODE) /target-i386/cpu.c: 2050 in x86_cpu_parse_featurestr() 2044 prop->value = g_strdup(val); 2045 prop->errp = &error_f