Commit 9f6e8ade authored by Jeffrey Lee's avatar Jeffrey Lee
Browse files

Remove redundant NULL pointer check

Detail:
  c/DOSdirs - Now that nbuff is an array held on the stack, there's no need for findSUBDIR to check whether it's a null pointer
Admin:
  Builds, untested
  Issue spotted by Dominic Plunkett


Version 1.13. Tagged as 'DOSFS-1_13'
parent eb3e3485
/* (1.12)
/* (1.13)
*
* This file is automatically maintained by srccommit, do not edit manually.
* Last processed by srccommit version: 1.1.
*
*/
#define Module_MajorVersion_CMHG 1.12
#define Module_MajorVersion_CMHG 1.13
#define Module_MinorVersion_CMHG
#define Module_Date_CMHG 18 Feb 2018
#define Module_Date_CMHG 19 Feb 2018
#define Module_MajorVersion "1.12"
#define Module_Version 112
#define Module_MajorVersion "1.13"
#define Module_Version 113
#define Module_MinorVersion ""
#define Module_Date "18 Feb 2018"
#define Module_Date "19 Feb 2018"
#define Module_ApplicationDate "18-Feb-18"
#define Module_ApplicationDate "19-Feb-18"
#define Module_ComponentName "DOSFS"
#define Module_ComponentPath "castle/RiscOS/Sources/FileSys/ImageFS/DOSFS"
#define Module_FullVersion "1.12"
#define Module_HelpVersion "1.12 (18 Feb 2018)"
#define Module_LibraryVersionInfo "1:12"
#define Module_FullVersion "1.13"
#define Module_HelpVersion "1.13 (19 Feb 2018)"
#define Module_LibraryVersionInfo "1:13"
......@@ -527,12 +527,6 @@ static DOS_direntry *findSUBDIR(char *wcname,DIR_info *cdir,int dir_size,int *in
char *cfile = NULL;
int oldindex;
if (nbuff == NULL)
{
*index = -1 ;
return(NULL) ;
}
do
{
oldindex=*index;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment