1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-07 12:21:11 +03:00

Update default variable values for compilers

Signed-off-by: Gowtham Suresh Kumar <gowtham.sureshkumar@arm.com>
This commit is contained in:
Gowtham Suresh Kumar
2023-08-01 09:48:32 +01:00
parent 2afb24f96a
commit cc029afbd0
2 changed files with 5 additions and 5 deletions

View File

@ -655,7 +655,7 @@ def parse_function_code(funcs_f, dependencies, suite_dependencies):
name = 'test_' + name
# If a test function has no arguments then add 'void' argument to
# avoid "-Wstrict-prototypes" warnings from clang-16
# avoid "-Wstrict-prototypes" warnings from clang
if len(args) == 0:
code = code.replace('()', '(void)', 1)