fix misleading-indentation warnings
authorMichael Gilbert <mgilbert@debian.org>
Wed, 12 Oct 2022 00:18:28 +0000 (01:18 +0100)
committerMichael Gilbert <mgilbert@debian.org>
Wed, 12 Oct 2022 00:18:28 +0000 (01:18 +0100)
Gbp-Pq: Topic warnings
Gbp-Pq: Name misleading-indentation.patch

dlls/oleaut32/vartype.c

index 0c6249d48db723cae8a18d4b12470750930631ac..0246162747ce7dc06ed7473372dff5052b8012f5 100644 (file)
@@ -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)