diff options
-rw-r--r-- | src/map_ap.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/map_ap.c b/src/map_ap.c index 1f56748..b6a039a 100644 --- a/src/map_ap.c +++ b/src/map_ap.c @@ -252,7 +252,6 @@ gboolean map_ap_get_u8(map_ap_t *ap, enum map_ap_tag tag, uint8_t *val) if (offset < 0 || ap_defs[offset].type != APT_UINT8) return FALSE; - entry = g_hash_table_lookup(ap, GINT_TO_POINTER(tag)); if (entry == NULL) return FALSE; @@ -270,7 +269,6 @@ gboolean map_ap_get_u16(map_ap_t *ap, enum map_ap_tag tag, uint16_t *val) if (offset < 0 || ap_defs[offset].type != APT_UINT16) return FALSE; - entry = g_hash_table_lookup(ap, GINT_TO_POINTER(tag)); if (entry == NULL) return FALSE; @@ -288,7 +286,6 @@ gboolean map_ap_get_u32(map_ap_t *ap, enum map_ap_tag tag, uint32_t *val) if (offset < 0 || ap_defs[offset].type != APT_UINT32) return FALSE; - entry = g_hash_table_lookup(ap, GINT_TO_POINTER(tag)); if (entry == NULL) return FALSE; @@ -306,7 +303,6 @@ const char *map_ap_get_string(map_ap_t *ap, enum map_ap_tag tag) if (offset < 0 || ap_defs[offset].type != APT_STR) return NULL; - entry = g_hash_table_lookup(ap, GINT_TO_POINTER(tag)); if (entry == NULL) return NULL; |