diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-06-21 14:04:40 +0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2016-07-07 15:25:00 -0300 |
commit | cf2887c9738451eb989c6c102af070dee2dc172a (patch) | |
tree | e249f7bb4f177279d35cc3e564cb969d316bb3ef /include/qom/cpu.h | |
parent | 7eb24386dbfb0b66464c7f856c1074c606efccda (diff) | |
download | qemu-cf2887c9738451eb989c6c102af070dee2dc172a.zip |
target-i386: Avoid using locals outside their scope
x86_cpu_parse_featurestr has a "val = num;" assignment just before num
goes out of scope. Push num up to fix the issue.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/qom/cpu.h')
0 files changed, 0 insertions, 0 deletions