Fixed compiler warnings.

This commit is contained in:
Fotis Panagiotopoulos
2022-08-22 16:17:00 +03:00
committed by Xiang Xiao
parent d1cbbcdb41
commit 0cdb2cfa48
21 changed files with 128 additions and 18 deletions

View File

@@ -44,6 +44,8 @@
int cmd_insmod(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
{
UNUSED(argc);
FAR void *handle;
/* Usage: insmod <filepath> <modulename> */
@@ -66,6 +68,8 @@ int cmd_insmod(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
int cmd_rmmod(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
{
UNUSED(argc);
FAR void *handle;
int ret;
@@ -99,6 +103,8 @@ int cmd_rmmod(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
#if defined(CONFIG_FS_PROCFS) && !defined(CONFIG_FS_PROCFS_EXCLUDE_MODULE)
int cmd_lsmod(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
{
UNUSED(argc);
FILE *stream;
/* Usage: lsmod */