mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Fixing warnings and removing call to vprintf in src/libruntime/target/stm32f4/*.
This commit is contained in:
parent
97a2776996
commit
bc83f77abe
@ -20,9 +20,9 @@
|
||||
* Handle failed assertion
|
||||
*/
|
||||
void __noreturn
|
||||
jerry_AssertFail(const char *assertion, /**< assertion condition string */
|
||||
const char *file, /**< file name */
|
||||
const uint32_t line) /** line */
|
||||
jerry_AssertFail(const char *assertion __unused, /**< assertion condition string */
|
||||
const char *file __unused, /**< file name */
|
||||
const uint32_t line __unused) /** line */
|
||||
{
|
||||
__exit( -ERR_GENERAL);
|
||||
} /* jerry_AssertFail */
|
||||
|
||||
@ -36,8 +36,13 @@ __printf(const char *format, /**< format string */
|
||||
|
||||
va_start( args, format);
|
||||
|
||||
int ret = vprintf( format, args);
|
||||
|
||||
/**
|
||||
* TODO: Call internal vprintf implementation when it appears.
|
||||
*/
|
||||
int ret = 0;
|
||||
|
||||
JERRY_UNIMPLEMENTED();
|
||||
|
||||
va_end( args);
|
||||
|
||||
return ret;
|
||||
@ -52,7 +57,7 @@ __putchar (int c)
|
||||
|
||||
/** exit - cause normal process termination */
|
||||
void __noreturn
|
||||
__exit (int status)
|
||||
__exit (int status __unused)
|
||||
{
|
||||
/**
|
||||
* TODO: Blink LEDs? status -> binary -> LEDs?
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user