From a840a14f1fa770dddc8f5413c06a88bab0c209b4 Mon Sep 17 00:00:00 2001 From: Elvira Khabirova Date: Mon, 6 Jun 2016 04:57:59 +0300 Subject: [PATCH] mpers.awk: remove unnecessary type attribute retrieval * mpers.awk (what_is): Do not retrieve "type" attribute for "enumeration_type". --- mpers.awk | 1 - 1 file changed, 1 deletion(-) diff --git a/mpers.awk b/mpers.awk index 99248c57..809acf88 100644 --- a/mpers.awk +++ b/mpers.awk @@ -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 -- 2.40.0