From 3f3f7a824c6168f34110aaa2a713e924e31145a2 Mon Sep 17 00:00:00 2001 From: Michal Privoznik Date: Thu, 28 Jan 2016 15:20:17 +0100 Subject: [PATCH] gendispatch: Don't output spaces on empty line In our generator for some code we put empty lines in the output to separate blocks of code. However, in some cases we put couple of spaces on the empty line too. It's not bug, it just isn't nice. Signed-off-by: Michal Privoznik --- src/rpc/gendispatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/gendispatch.pl b/src/rpc/gendispatch.pl index 5cfc5120b2..37401301e2 100755 --- a/src/rpc/gendispatch.pl +++ b/src/rpc/gendispatch.pl @@ -677,7 +677,7 @@ elsif ($mode eq "server") { push(@prepare_ret_list, "if (VIR_ALLOC($2_p) < 0)\n" . " goto cleanup;\n" . - " \n" . + "\n" . " if (VIR_STRDUP(*$2_p, $2) < 0)\n". " goto cleanup;\n"); -- GitLab