From b3bf17a5c586366b8dbb79224db05216c2fe0e37 Mon Sep 17 00:00:00 2001 From: Dmytro Bogovych Date: Sun, 3 Jan 2021 14:10:05 +0300 Subject: [PATCH] - fix compilation warnings --- src/libs/resiprocate/rutil/compat.hxx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/libs/resiprocate/rutil/compat.hxx b/src/libs/resiprocate/rutil/compat.hxx index 8d7abfac..d0cbcde0 100644 --- a/src/libs/resiprocate/rutil/compat.hxx +++ b/src/libs/resiprocate/rutil/compat.hxx @@ -121,14 +121,18 @@ template inline const _Tp& resipMin(const _Tp& __a, const _Tp& __b) { - if (__b < __a) return __b; return __a; + if (__b < __a) + return __b; + return __a; } template inline const _Tp& resipMax(const _Tp& __a, const _Tp& __b) { - if (__a < __b) return __b; return __a; + if (__a < __b) + return __b; + return __a; } template