mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-29 11:41:15 +03:00
Align with coding style
return statements use parentheses to contain their value. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
@ -62,7 +62,7 @@ HIGH_LEVEL_CODE_CHECKS
|
||||
break;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return( NULL );
|
||||
}
|
||||
|
||||
const char * mbedtls_low_level_strerr( int error_code )
|
||||
@ -85,7 +85,7 @@ LOW_LEVEL_CODE_CHECKS
|
||||
break;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
return( NULL );
|
||||
}
|
||||
|
||||
void mbedtls_strerror( int ret, char *buf, size_t buflen )
|
||||
|
@ -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 "")
|
||||
|
Reference in New Issue
Block a user