aboutsummaryrefslogtreecommitdiff
path: root/core/compress
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2022-02-05 14:02:21 +0000
committergingerBill <bill@gingerbill.org>2022-02-05 14:02:21 +0000
commitb8c4bf2afb39ca2980b2827aa1775b35728bb195 (patch)
tree9c6da23a0c0c7e38f5801c1a6695fbf03e54d034 /core/compress
parente870041fe6171b7e88cde672a3e5478d3786b3c9 (diff)
Add `#partial [Enum]Type{...}` support to check for missing enumerated array fields
Diffstat (limited to 'core/compress')
-rw-r--r--core/compress/gzip/gzip.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/compress/gzip/gzip.odin b/core/compress/gzip/gzip.odin
index 0ed805ef8..96e9c49a0 100644
--- a/core/compress/gzip/gzip.odin
+++ b/core/compress/gzip/gzip.odin
@@ -67,6 +67,7 @@ OS :: enum u8 {
Unknown = 255,
}
OS_Name :: #sparse[OS]string{
+ ._Unknown = "",
.FAT = "FAT",
.Amiga = "Amiga",
.VMS = "VMS/OpenVMS",