Commit 6afc14e9 authored by Stefan Weil's avatar Stefan Weil Committed by Michael Tokarev
Browse files

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: default avatarStefan Weil <sw@weilnetz.de>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 084cc839
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -139,9 +139,7 @@ struct VMStateDescription {
    const VMStateSubsection *subsections;
};

#ifdef CONFIG_USER_ONLY
extern const VMStateDescription vmstate_dummy;
#endif

extern const VMStateInfo vmstate_info_bool;