From: Michael Gilbert Date: Sat, 24 Sep 2022 17:29:03 +0000 (+0100) Subject: fix misleading-indentation warnings X-Git-Tag: archive/raspbian/7.0_repack-10+rpi1~2^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cdcb109d07286b4db65ba1b51bfaa2a6f5d4ada2;p=wine.git fix misleading-indentation warnings Gbp-Pq: Topic warnings Gbp-Pq: Name misleading-indentation.patch --- diff --git a/dlls/oleaut32/vartype.c b/dlls/oleaut32/vartype.c index 0c6249d..0246162 100644 --- a/dlls/oleaut32/vartype.c +++ b/dlls/oleaut32/vartype.c @@ -149,15 +149,27 @@ static HRESULT VARIANT_FromDisp(IDispatch* pdispIn, LCID lcid, void* pOut, /* Compiler cast where input cannot be negative */ #define NEGTST(dest, src, func) RETTYP _##func(src in, dest* out) { \ - if (in < 0) return DISP_E_OVERFLOW; *out = in; return S_OK; } + if (in < 0) \ + return DISP_E_OVERFLOW; \ + *out = in; \ + return S_OK; \ + } /* Compiler cast where input cannot be > some number */ #define POSTST(dest, src, func, tst) RETTYP _##func(src in, dest* out) { \ - if (in > (dest)tst) return DISP_E_OVERFLOW; *out = in; return S_OK; } + if (in > (dest)tst) \ + return DISP_E_OVERFLOW; \ + *out = in; \ + return S_OK; \ + } /* Compiler cast where input cannot be < some number or >= some other number */ #define BOTHTST(dest, src, func, lo, hi) RETTYP _##func(src in, dest* out) { \ - if (in < (dest)lo || in > hi) return DISP_E_OVERFLOW; *out = in; return S_OK; } + if (in < (dest)lo || in > hi) \ + return DISP_E_OVERFLOW; \ + *out = in; \ + return S_OK; \ + } /* I1 */ POSTST(signed char, BYTE, VarI1FromUI1, I1_MAX)