aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmobts_sock.cpp
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2017-09-01 14:36:44 +0200
committerMax <msuraev@sysmocom.de>2017-09-04 13:06:01 +0000
commit5a6bcfb7977b9db8964016582e51218a60c8431f (patch)
tree79b420a59524b92b0b853afbf7ff948187959a1a /src/osmobts_sock.cpp
parent8bfa659087756056cc6c131d27c88807787f7c05 (diff)
cosmetic: convert explicit warnings to fixme/todo
We do not use this style (#warning as an issue tracker replacement) in any other Osmocom project. Also those warnings clutter compiler output making it harder to spot warnings for the actual code. Change-Id: I72070e2a027e60e8b80c12ccfa23ff075434689f
Diffstat (limited to 'src/osmobts_sock.cpp')
-rw-r--r--src/osmobts_sock.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osmobts_sock.cpp b/src/osmobts_sock.cpp
index e9b85ab7..31715d50 100644
--- a/src/osmobts_sock.cpp
+++ b/src/osmobts_sock.cpp
@@ -108,7 +108,8 @@ static void pcu_sock_close(struct pcu_sock_state *state, int lost)
#endif
for (ts = 0; ts < 8; ts++)
bts->trx[trx].pdch[ts].disable();
-#warning "NOT ALL RESOURCES are freed in this case... inconsistent with the other code. Share the code with pcu_l1if.c for the reset."
+/* FIXME: NOT ALL RESOURCES are freed in this case... inconsistent with the other code. Share the code with pcu_l1if.c
+for the reset. */
gprs_rlcmac_tbf::free_all(&bts->trx[trx]);
}