qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 1/7] backends: Fix warning from Sparse
@ 2015-03-08 18:14 Stefan Weil
  2015-03-10  6:04 ` Michael Tokarev
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Weil @ 2015-03-08 18:14 UTC (permalink / raw)
  To: QEMU Trivial; +Cc: Stefan Weil, QEMU Developer

Sparse report:

backends/tpm.c:39:5: warning: returning void-valued expression

Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 backends/tpm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backends/tpm.c b/backends/tpm.c
index 01860c4..4efe367 100644
--- a/backends/tpm.c
+++ b/backends/tpm.c
@@ -36,7 +36,7 @@ void tpm_backend_destroy(TPMBackend *s)
 {
     TPMBackendClass *k = TPM_BACKEND_GET_CLASS(s);
 
-    return k->ops->destroy(s);
+    k->ops->destroy(s);
 }
 
 int tpm_backend_init(TPMBackend *s, TPMState *state,
-- 
2.1.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-10  6:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-08 18:14 [Qemu-devel] [PATCH 1/7] backends: Fix warning from Sparse Stefan Weil
2015-03-10  6:04 ` Michael Tokarev
2015-03-10  6:22   ` Stefan Weil
2015-03-10  6:41     ` Michael Tokarev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).