mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-23 13:36:05 +00:00
fix(common): ignore the unused function return value
This corrects the MISRA violation C2012-17.7: The value returned by a function having non-void return type shall be used. Typecast the function call to void to discard the return value. Change-Id: I7cfb11bb34bc44a4985d30d37d8cce4b8d241652 Signed-off-by: Nithin G <nithing@amd.com> Signed-off-by: Maheedhar Bollapalli <maheedharsai.bollapalli@amd.com>
This commit is contained in:
parent
0839cfc980
commit
fc7a7208e0
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ void tf_log_newline(const char log_fmt[2])
|
|||
return;
|
||||
}
|
||||
|
||||
putchar('\n');
|
||||
(void)putchar((int32_t)'\n');
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Reference in a new issue