diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2017-08-14 21:18:41 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2017-08-27 03:52:47 +0200 |
commit | fc03b1ec6ce0f96fb03bc0056d70f91033f57e92 (patch) | |
tree | f833a89a479a13171a1c522674fee7de9294d356 /src/gprs/gtphub_vty.c | |
parent | 4299c474d89641c7231008915e005c8cac6df133 (diff) |
smpp: Fix compilation warning
I already stumbled into 2 compilation environments which had Werror
enabled for -Wmaybe-uninitialized and the build failed, so let's
workaround this warning.
| smpp_openbsc.c: In function 'handle_smpp_submit':
| smpp_openbsc.c:216:9: error: 'sms_msg_len' may be used uninitialized in this function [-Werror=maybe-uninitialized]
| memcpy(sms->user_data, sms_msg, sms_msg_len);
| ^
| smpp_openbsc.c:100:15: note: 'sms_msg_len' was declared here
| unsigned int sms_msg_len;
| ^
| cc1: some warnings being treated as errors
Change-Id: I0901ddadb5f72e1585cb1797ac22c8ab95e83146
Diffstat (limited to 'src/gprs/gtphub_vty.c')
0 files changed, 0 insertions, 0 deletions