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:
patacongo
2010-09-06 22:02:15 +00:00
parent a4859ef3a6
commit ca3cf813e7
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -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;
+2 -1
View File
@@ -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 */