aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/libbsc/rest_octets.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2013-03-09 17:50:10 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2013-03-09 17:53:50 +0100
commite1145cf0f9c746e4b1d7707d958705d4923af835 (patch)
treeeccd0f04b058e25df3769a1bdf7117abe6d9b6c8 /openbsc/src/libbsc/rest_octets.c
parente972dba8ddc2f92384fc5e78752f8138203f7313 (diff)
rsl: Properly initialize the cm structure with memset
abis_rsl.c:332:23: warning: 'memset' call operates on objects of type 'struct rsl_ie_chan_mode' while the size is based on a different type 'struct rsl_ie_chan_mode *' [-Wsizeof-pointer-memaccess] memset(cm, 0, sizeof(cm)); ~~ ^~ abis_rsl.c:332:23: note: did you mean to dereference the argument to 'sizeof' (and multiply it by the number of elements)? memset(cm, 0, sizeof(cm)); ^~ 1 warning generated.
Diffstat (limited to 'openbsc/src/libbsc/rest_octets.c')
0 files changed, 0 insertions, 0 deletions