mirror of
https://github.com/cesanta/mongoose.git
synced 2025-08-06 13:37:34 +08:00
Suppress a TI compiler warning
PUBLISHED_FROM=63810a48861c6e2b3e3eb8bab981927f6f85dd40
This commit is contained in:
parent
0f23618324
commit
41d7520585
@ -10801,9 +10801,12 @@ int sl_fs_init() {
|
||||
int ret = 1;
|
||||
#ifdef __TI_COMPILER_VERSION__
|
||||
#ifdef MG_FS_SLFS
|
||||
#pragma diag_push
|
||||
#pragma diag_suppress 169 /* Nothing we can do about the prototype mismatch. */
|
||||
ret = (add_device("SL", _MSA, fs_slfs_open, fs_slfs_close, fs_slfs_read,
|
||||
fs_slfs_write, fs_slfs_lseek, fs_slfs_unlink,
|
||||
fs_slfs_rename) == 0);
|
||||
#pragma diag_pop
|
||||
#endif
|
||||
#endif
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user