mpers.awk: remove unnecessary type attribute retrieval

* mpers.awk (what_is): Do not retrieve "type" attribute
for "enumeration_type".
This commit is contained in:
Elvira Khabirova
2016-06-06 04:57:59 +03:00
committed by Dmitry V. Levin
parent f6be7ae12c
commit a840a14f1f

View File

@ -90,7 +90,6 @@ function what_is(what_idx, type_idx, special, item, \
returned_size = array_get(what_idx, "byte_size")
break
case "enumeration_type":
type_idx = array_get(what_idx, "type")
returned_size = array_get(what_idx, "byte_size")
printf("uint%s_t ", 8 * returned_size)
break