diff options
| author | Paolo Bonzini | 2016-06-21 14:04:40 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2016-07-07 20:25:00 +0200 |
| commit | cf2887c9738451eb989c6c102af070dee2dc172a (patch) | |
| tree | e249f7bb4f177279d35cc3e564cb969d316bb3ef /include | |
| parent | target-i386: TCG can support CPUID.07H:EBX.erms (diff) | |
| download | qemu-cf2887c9738451eb989c6c102af070dee2dc172a.tar.gz qemu-cf2887c9738451eb989c6c102af070dee2dc172a.tar.xz 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')
0 files changed, 0 insertions, 0 deletions
