Eduardo Habkost
685479bd5d
target-i386: Remove unused local_err variable
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_fatal;
2046 qdev_prop_register_global(prop);
2047 }
2048
2049 if (local_err) {
>>> CID 1365201: Possible Control flow issues (DEADCODE)
>>> Execution cannot reach this statement: "error_propagate(errp, local...".
2050 error_propagate(errp, local_err);
2051 }
2052 }
2053
2054 static void x86_cpu_load_features(X86CPU *cpu, Error **errp);
2055 static int x86_cpu_filter_features(X86CPU *cpu);
Reported-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <1480087313-15102-1-git-send-email-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
2016-11-25 15:12:23 -02:00
..
2016-10-24 17:29:16 -02:00
2016-11-25 15:12:23 -02:00
2016-11-02 09:28:56 +01:00
2016-10-31 15:00:25 +01:00
2016-10-26 08:29:01 -07:00
2016-10-24 17:29:15 -02:00
2016-10-17 15:44:49 -02:00
2016-11-09 14:08:17 +01:00
2016-11-10 16:01:06 +01:00
2016-10-26 08:29:01 -07:00
2016-10-04 17:16:15 +01:00
2016-11-01 10:29:03 -06:00