Skip to content

Commit

Permalink
Refactor file common/DBusStructures.vala to handle FileSystem.NONE ca…
Browse files Browse the repository at this point in the history
…se in a default statement.
  • Loading branch information
meisenzahl committed Nov 9, 2023
1 parent 08a0147 commit dd09a4b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions common/DBusStructures.vala
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ public enum InstallerDaemon.FileSystem {
return "fat16";
case FAT32:
return "fat32";
case NONE:
return "none";
case NTFS:
return "ntfs";
case SWAP:
Expand All @@ -74,9 +72,10 @@ public enum InstallerDaemon.FileSystem {
return "lvm";
case LUKS:
return "luks";
case NONE:
default:
return "none";
}

return "none";
}
}

Expand Down

0 comments on commit dd09a4b

Please sign in to comment.