diff options
Diffstat (limited to 'sim/common/hw-properties.c')
-rw-r--r-- | sim/common/hw-properties.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/hw-properties.c b/sim/common/hw-properties.c index f1d7a77..42b4d3a 100644 --- a/sim/common/hw-properties.c +++ b/sim/common/hw-properties.c @@ -829,7 +829,7 @@ hw_find_string_array_property (struct hw *me, if (node->sizeof_array == 0 || ((char*)node->array)[node->sizeof_array - 1] != '\0') hw_abort (me, "property \"%s\" invalid for string array", property); - /* FALL THROUGH */ + ATTRIBUTE_FALLTHROUGH; case string_array_property: ASSERT (node->sizeof_array > 0); ASSERT (((char*)node->array)[node->sizeof_array - 1] == '\0'); |