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:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user