[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v4] qapi/opts-visitor: Fixed fallthrough compiler warning
From: |
Rohit Shinde |
Subject: |
[PATCH v4] qapi/opts-visitor: Fixed fallthrough compiler warning |
Date: |
Sat, 15 Aug 2020 22:31:27 -0400 |
Added fallthrough comment on line 270 to fix compiler warning
Signed-off-by: Rohit Shinde <rohit.shinde12194@gmail.com>
---
qapi/opts-visitor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/qapi/opts-visitor.c b/qapi/opts-visitor.c
index 43cf60d3a0..3422ff265e 100644
--- a/qapi/opts-visitor.c
+++ b/qapi/opts-visitor.c
@@ -266,7 +266,7 @@ opts_next_list(Visitor *v, GenericList *tail, size_t size)
}
ov->list_mode = LM_IN_PROGRESS;
/* range has been completed, fall through in order to pop option */
- __attribute__((fallthrough));
+ /* fallthrough */
case LM_IN_PROGRESS: {
const QemuOpt *opt;
--
2.25.1
- [PATCH v4] qapi/opts-visitor: Fixed fallthrough compiler warning,
Rohit Shinde <=