diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-05-11 03:52:28 +0700 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2019-05-13 20:15:04 +0000 |
commit | bfe8eb76203a765d704c7a03228c04580660c1a4 (patch) | |
tree | f771cb76156f62f20bf99bd9557f9b5c47d1f45d /m4 | |
parent | 36c8153999483242deccacae490fdd15b55f3e95 (diff) |
libmsc/ran_msg_a.c: avoid ternary operator in struct initialization
For some reason, having ternary operator there makes Coverity think
that 'n->geran.chosen_encryption' is dereferenced before checking
against NULL. Let's make it happy, and move the assignment.
Change-Id: I95051d0f02e2fdd3ec8da3a506109e7b23e99b4b
Fixes: CID#198454 Dereference before null check
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions