]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
Add braces around a condition block
authorVincent Pit <vince@profvince.com>
Tue, 18 Aug 2015 13:11:50 +0000 (10:11 -0300)
committerVincent Pit <vince@profvince.com>
Tue, 18 Aug 2015 13:11:50 +0000 (10:11 -0300)
Upper.xs

index 3ba3348b7edc058e80ca3314acbfd7698c8c59c2..c2036cce24e91c10f65fee5a780693e95f5cbcb0 100644 (file)
--- 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)