mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-11 03:24:58 -06:00
migration: Fix warning caused by missing declaration of vmstate_dummy
Warning from the Sparse static analysis tool: stubs/vmstate.c:4:26: warning: symbol 'vmstate_dummy' was not declared. Should it be static? Cc: Juan Quintela <quintela@redhat.com> Cc: Amit Shah <amit.shah@redhat.com> Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
084cc83996
commit
6afc14e92a
1 changed files with 0 additions and 2 deletions
|
@ -139,9 +139,7 @@ struct VMStateDescription {
|
||||||
const VMStateSubsection *subsections;
|
const VMStateSubsection *subsections;
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef CONFIG_USER_ONLY
|
|
||||||
extern const VMStateDescription vmstate_dummy;
|
extern const VMStateDescription vmstate_dummy;
|
||||||
#endif
|
|
||||||
|
|
||||||
extern const VMStateInfo vmstate_info_bool;
|
extern const VMStateInfo vmstate_info_bool;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue