Eliminate some warnings from building testing.
This commit is contained in:
parent
e52bc92238
commit
29309e63aa
2 changed files with 2 additions and 1 deletions
|
@ -290,6 +290,7 @@ static int stm32_mrf24j40_devsetup(FAR struct stm32_priv_s *priv)
|
|||
}
|
||||
#endif
|
||||
|
||||
UNUSED(ret);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -375,7 +375,7 @@ int losetup(FAR const char *devname, FAR const char *filename,
|
|||
FAR struct loop_struct_s *dev;
|
||||
struct stat sb;
|
||||
int ret;
|
||||
int fd;
|
||||
int fd = -1;
|
||||
|
||||
/* Sanity check */
|
||||
|
||||
|
|
Loading…
Reference in a new issue