aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Hauke <mardnh@gmx.de>2015-11-05 21:02:47 +0100
committerHarald Welte <laforge@gnumonks.org>2015-11-05 21:04:29 +0100
commit4316cb2f25a583ed759d6823ce9a1b7650e178a9 (patch)
tree20bad0da4e66211a015c63b19152897fe06b973b
parent292769e19e1ec7ea28b69370f04569501020659f (diff)
Fix no-return-in-nonvoid-function meas_vis.c
RPM post-build-checks found some issue and marks these as error: [ 38s] I: Program returns random data in a function [ 38s] E: openbsc no-return-in-nonvoid-function meas_vis.c:118
-rw-r--r--openbsc/src/utils/meas_vis.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/utils/meas_vis.c b/openbsc/src/utils/meas_vis.c
index 092d6adf1..4f7e632c3 100644
--- a/openbsc/src/utils/meas_vis.c
+++ b/openbsc/src/utils/meas_vis.c
@@ -115,6 +115,8 @@ static int handle_msg(struct msgb *msg)
default:
break;
}
+
+ return 0;
}
static int udp_fd_cb(struct osmo_fd *ofd, unsigned int what)