summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-03-27 14:16:34 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2012-03-27 14:16:34 +0300
commit3581eef917a008731eedadaacdd90006e8922f70 (patch)
tree945065e7f02a145bb8d724ac5c3bbe91194d53d2 /src
parent3f1d549f23b520a165951053cc63adeadf043fdb (diff)
downloadobexd-3581eef917a008731eedadaacdd90006e8922f70.tar.gz
map_ap: Fix whitespace errors
Diffstat (limited to 'src')
-rw-r--r--src/map_ap.c4
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;