From b8aa5d06cd94ca9a692b92f2ffd39f5941cad438 Mon Sep 17 00:00:00 2001 From: Michal Kubecek Date: Mon, 13 Apr 2015 09:45:41 +0200 Subject: add missing return statements Fix occurences of "no return in non-void function". --- src/user.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/user.cpp') diff --git a/src/user.cpp b/src/user.cpp index 224e291..b3de725 100644 --- a/src/user.cpp +++ b/src/user.cpp @@ -225,6 +225,7 @@ string t_user::bit_rate_type2str(t_bit_rate_type b) const { default: assert(false); } + return ""; } t_dtmf_transport t_user::str2dtmf_transport(const string &s) const { @@ -244,6 +245,7 @@ string t_user::dtmf_transport2str(t_dtmf_transport d) const { default: assert(false); } + return ""; } t_g726_packing t_user::str2g726_packing(const string &s) const { @@ -259,6 +261,7 @@ string t_user::g726_packing2str(t_g726_packing packing) const { default: assert(false); } + return ""; } t_sip_transport t_user::str2sip_transport(const string &s) const { @@ -276,6 +279,7 @@ string t_user::sip_transport2str(t_sip_transport transport) const { default: assert(false); } + return ""; } string t_user::expand_filename(const string &filename) { -- cgit v1.2.3