From 0d18fcbbf2aa13468082d70dc8f9b3bd54944a35 Mon Sep 17 00:00:00 2001 From: Fabrizio Fabbri Date: Tue, 16 May 2017 18:19:38 +0200 Subject: [PATCH] fix coverity 1434941 Missing return statement https://scan7.coverity.com/reports.htm#v29377/p15116/fileInstanceId=18706913&defectInstanceId=4323734&mergedDefectId=1434941 --- src/c/typespec.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/c/typespec.d b/src/c/typespec.d index fa89572b7..ce3a23526 100644 --- a/src/c/typespec.d +++ b/src/c/typespec.d @@ -90,9 +90,9 @@ cl_object ecl_type_error(cl_object function, const char *place, cl_object o, cl_object type) { - si_wrong_type_argument(4, o, type, - (*place? make_constant_base_string(place) : ECL_NIL), - function); + return si_wrong_type_argument(4, o, type, + (*place? make_constant_base_string(place) : ECL_NIL), + function); } /**********************************************************************/