[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 39/46] migration: Fix warning caused by missing decla

From: Michael Tokarev
Subject: [Qemu-devel] [PULL 39/46] migration: Fix warning caused by missing declaration of vmstate_dummy
Date: Tue, 10 Feb 2015 09:34:28 +0300

From: Stefan Weil <address@hidden>

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 <address@hidden>
Cc: Amit Shah <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
 include/migration/vmstate.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 0b26bc6..c20f2d1 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -139,9 +139,7 @@ struct VMStateDescription {
     const VMStateSubsection *subsections;
 extern const VMStateDescription vmstate_dummy;
 extern const VMStateInfo vmstate_info_bool;

reply via email to

[Prev in Thread] Current Thread [Next in Thread]