commit | b72141458c2c1ff73e97688233c6341b2eca09a9 | [log] [tgz] |
---|---|---|
author | Pau Espin Pedrol <pespin@sysmocom.de> | Sat Apr 27 13:34:23 2019 +0200 |
committer | Pau Espin Pedrol <pespin@sysmocom.de> | Sat Apr 27 13:35:07 2019 +0200 |
tree | f2468080207488279091f23eb83dca6f12115c61 | |
parent | aed46ec97d22c1eccae3578c0010840c3acede0e [diff] |
gprs_sndcp_comp_free: Replace ifelse with switch and better handling of error gprs_sndcp_dcomp_term asserts if compclass is not SNDCP_XID_DATA_COMPRESSION, so this way by checking in the caller too we easily now if the unexpected value is in compclass or in algo.dcomp. Change-Id: I4600e6a137f42f20fdf69637e4a9048b265c1748