forked from Imagelibrary/rtems
dosfs: Eliminate empty case statements that fall through to default.
Also eliminates possibly dead code in case the name_type can never actually be MSDOS_NAME_INVALID. 1063860 Logically dead code.
This commit is contained in:
@@ -1941,7 +1941,6 @@ msdos_find_name_in_fat_file (
|
||||
else
|
||||
retval = -1;
|
||||
break;
|
||||
case MSDOS_NAME_INVALID:
|
||||
default:
|
||||
errno = EINVAL;
|
||||
retval = -1;
|
||||
@@ -1997,7 +1996,6 @@ msdos_find_name_in_fat_file (
|
||||
else
|
||||
retval = -1;
|
||||
break;
|
||||
case MSDOS_NAME_INVALID:
|
||||
default:
|
||||
errno = EINVAL;
|
||||
retval = -1;
|
||||
|
||||
Reference in New Issue
Block a user