commit | 6934a0fa9e50d46326e790989aedfee8b1c996f2 | [log] [tgz] |
---|---|---|
author | Philipp Maier <pmaier@sysmocom.de> | Wed Jan 25 12:19:08 2017 +0100 |
committer | Harald Welte <laforge@gnumonks.org> | Fri Jan 27 22:18:06 2017 +0000 |
tree | c9dc89c109c6ea790912e53519992cc0ba4de4e8 | |
parent | f18862309172e63c9631863cddceedb20ca3add2 [diff] |
gprs: Fix compiler warning about uninitalized cause code in gprs_gmm.c:gsm48_rx_gmm_ra_upd_req the variable reject_cause is not initalized, which is ok, since it gets initalized before the jump into the "rejected" path. However, the compiler still throws a warning. This commit fixes the problem by preinitalizing the reject_cause to GMM_CAUSE_PROTO_ERR_UNSPEC Change-Id: I84cffb631e4cad3d4748512b47e3876208f53727