1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-06-21 03:42:30 +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-07-31 16:38:10 +01:00
parent 6f1977bf20
commit 9da40b8927
2 changed files with 5 additions and 5 deletions

View File

@ -668,7 +668,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)