From 4eaab24c773bf05a8b32ff21a024d19054f1ab57 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Wed, 3 Feb 2016 10:58:57 +0100 Subject: [PATCH] opencl.c: fix minor style issue The body of an if should have braces if the body of the corresponding else has braces. Signed-off-by: Sven Verdoolaege --- opencl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opencl.c b/opencl.c index e03fb07..097a083 100644 --- a/opencl.c +++ b/opencl.c @@ -945,9 +945,9 @@ static __isl_give isl_printer *opencl_print_total_number_of_work_items_for_dim( p = isl_printer_print_str(p, ") * "); p = isl_printer_print_int(p, kernel->block_dim[i]); isl_pw_aff_free(bound_grid); - } else if (i >= grid_dim) + } else if (i >= grid_dim) { p = isl_printer_print_int(p, kernel->block_dim[i]); - else { + } else { bound_grid = isl_multi_pw_aff_get_pw_aff(kernel->grid_size, i); p = isl_printer_print_pw_aff(p, bound_grid); isl_pw_aff_free(bound_grid); -- 2.11.4.GIT