mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
Eliminate some warnings
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2926 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/nsh/nsh_netcmds.c
|
* examples/nsh/nsh_netcmds.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007-2009 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007-2010 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -665,7 +665,7 @@ int cmd_wget(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv)
|
|||||||
char *buffer = NULL;
|
char *buffer = NULL;
|
||||||
char *fullpath = NULL;
|
char *fullpath = NULL;
|
||||||
char *url;
|
char *url;
|
||||||
char *fmt;
|
const char *fmt;
|
||||||
int option;
|
int option;
|
||||||
int fd = -1;
|
int fd = -1;
|
||||||
int ret;
|
int ret;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* examples/nsh/nsh_romfsetc.c
|
* examples/nsh/nsh_romfsetc.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2008-2009 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2008-2010 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@@ -113,3 +113,4 @@ int nsh_romfsetc(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_EXAMPLES_NSH_ROMFSETC */
|
#endif /* CONFIG_EXAMPLES_NSH_ROMFSETC */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user