diff options
author | Gedare Bloom <gedare@rtems.org> | 2013-09-05 14:03:00 -0400 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2013-09-05 14:03:00 -0400 |
commit | b6cfbab43f23468bd43c3ce7130153cc5e57e2f0 (patch) | |
tree | 1a4087858d4f93c2d32a8b2d6787d86d0dd161e6 | |
parent | nfs: Fix ln option processing. (diff) | |
download | rtems-b6cfbab43f23468bd43c3ce7130153cc5e57e2f0.tar.bz2 |
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.
-rw-r--r-- | cpukit/libfs/src/dosfs/msdos_misc.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cpukit/libfs/src/dosfs/msdos_misc.c b/cpukit/libfs/src/dosfs/msdos_misc.c index 959768c286..22d8f21a25 100644 --- a/cpukit/libfs/src/dosfs/msdos_misc.c +++ b/cpukit/libfs/src/dosfs/msdos_misc.c @@ -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; |