mirror of https://github.com/ARMmbed/mbed-os.git
Fixed compiler warning in mbed_retarget.cpp
Fixed compiler warning about openmode_to_posix() being declared but never referenced.pull/4209/head
parent
b7b55db77a
commit
8394968a12
|
@ -120,6 +120,7 @@ static void init_serial() {
|
|||
#endif
|
||||
}
|
||||
|
||||
#if MBED_CONF_FILESYSTEM_PRESENT
|
||||
static inline int openmode_to_posix(int openmode) {
|
||||
int posix = openmode;
|
||||
#ifdef __ARMCC_VERSION
|
||||
|
@ -154,6 +155,7 @@ static inline int openmode_to_posix(int openmode) {
|
|||
#endif
|
||||
return posix;
|
||||
}
|
||||
#endif
|
||||
|
||||
extern "C" WEAK void mbed_sdk_init(void);
|
||||
extern "C" WEAK void mbed_sdk_init(void) {
|
||||
|
|
Loading…
Reference in New Issue