From: Vincent Pit Date: Tue, 18 Aug 2015 13:11:50 +0000 (-0300) Subject: Add braces around a condition block X-Git-Tag: v0.28~4 X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FScope-Upper.git;a=commitdiff_plain;h=5d014d3d078c8343471064da26a253cef6e81b42 Add braces around a condition block --- diff --git a/Upper.xs b/Upper.xs index 3ba3348..c2036cc 100644 --- a/Upper.xs +++ b/Upper.xs @@ -1143,9 +1143,9 @@ static I32 su_init(pTHX_ void *ud, I32 cxix, I32 size) { * by the smallest multiple of SU_SAVE_PLACEHOLDER_SIZE greater or equal to * max(SU_SAVE_DESTRUCTOR_SIZE, size). */ - if (size <= SU_SAVE_DESTRUCTOR_SIZE) + if (size <= SU_SAVE_DESTRUCTOR_SIZE) { pad = 0; - else { + } else { I32 extra = size - SU_SAVE_DESTRUCTOR_SIZE; pad = extra / SU_SAVE_PLACEHOLDER_SIZE; if (extra % SU_SAVE_PLACEHOLDER_SIZE)