mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
makefs: Remove impossible if condition
This test is inside the else block for `if (*oldname == '.')`, so *oldname cannot be '.' here. Reviewed by: kevans Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D48243
This commit is contained in:
parent
6ba2a0846f
commit
788e1eb7c1
1 changed files with 1 additions and 5 deletions
|
|
@ -1664,12 +1664,8 @@ cd9660_level2_convert_filename(iso9660_disk *diskStructure, const char *oldname,
|
|||
else if (isupper((unsigned char)*oldname) ||
|
||||
isdigit((unsigned char)*oldname))
|
||||
*newname++ = *oldname;
|
||||
else if (diskStructure->allow_multidot &&
|
||||
*oldname == '.') {
|
||||
*newname++ = '.';
|
||||
} else {
|
||||
else
|
||||
*newname++ = '_';
|
||||
}
|
||||
|
||||
if (found_ext)
|
||||
extlen++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue