diff options
author | Neels Hofmeyr <neels@hofmeyr.de> | 2016-06-23 23:14:57 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2016-06-23 23:14:57 +0200 |
commit | 93e9bf934cadd7fe80ecf9e15f2b2b34641b691e (patch) | |
tree | 257d4e7f1c031fbd1ab6ee8df11bdc0f10354bba | |
parent | d32aa035209364429e8e756724fb17085bdd587c (diff) |
fix compiler warning: #if 0 unused function, comment at potential caller
-rw-r--r-- | src/gprs_bssgp_pcu.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gprs_bssgp_pcu.cpp b/src/gprs_bssgp_pcu.cpp index da1d26c1..fde25f59 100644 --- a/src/gprs_bssgp_pcu.cpp +++ b/src/gprs_bssgp_pcu.cpp @@ -74,6 +74,7 @@ static int parse_imsi(struct tlv_parsed *tp, char *imsi) return 0; } +#if 0 static int parse_ra_cap(struct tlv_parsed *tp, MS_Radio_Access_capability_t *rac) { bitvec *block; @@ -99,6 +100,7 @@ static int parse_ra_cap(struct tlv_parsed *tp, MS_Radio_Access_capability_t *rac bitvec_free(block); return 0; } +#endif static int gprs_bssgp_pcu_rx_dl_ud(struct msgb *msg, struct tlv_parsed *tp) { @@ -138,7 +140,7 @@ static int gprs_bssgp_pcu_rx_dl_ud(struct msgb *msg, struct tlv_parsed *tp) * will listen to all paging blocks. */ parse_imsi(tp, imsi); -#if 0 /* Do not rely on this IE. TODO: make this configurable */ +#if 0 /* Do not rely on this IE. TODO: make this configurable. Another #if 0 above. */ /* parse ms radio access capability */ if (parse_ra_cap(tp, &rac) >= 0) { /* Get the EGPRS class from the RA capability */ |