aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_errors.pl
diff options
context:
space:
mode:
authorGaurav Aggarwal <aggarg@amazon.com>2020-04-22 08:13:25 -0700
committerGaurav Aggarwal <aggarg@amazon.com>2020-04-22 08:13:25 -0700
commitcabde252895bf5a6bebe3aff816aa73397d554ea (patch)
tree2183bd5b71f37329b592a6cce0d88cbfceadf254 /scripts/generate_errors.pl
parent8663c7415a7970798345170f62002265a6bf26e9 (diff)
downloadmbedtls-cabde252895bf5a6bebe3aff816aa73397d554ea.zip
mbedtls-cabde252895bf5a6bebe3aff816aa73397d554ea.tar.gz
mbedtls-cabde252895bf5a6bebe3aff816aa73397d554ea.tar.bz2
Align with coding style
return statements use parentheses to contain their value. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Diffstat (limited to 'scripts/generate_errors.pl')
-rwxr-xr-xscripts/generate_errors.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generate_errors.pl b/scripts/generate_errors.pl
index 5aef37a..0512d59 100755
--- a/scripts/generate_errors.pl
+++ b/scripts/generate_errors.pl
@@ -161,7 +161,7 @@ foreach my $line (@matches)
}
${$code_check} .= "${white_space}case -($error_name):\n".
- "${white_space} return \"$module_name - $description\";\n"
+ "${white_space} return( \"$module_name - $description\" );\n"
};
if ($ll_old_define ne "")