diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-12-07 21:42:45 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-12-07 21:42:45 -0500 |
| commit | 544b1fb6a70d55bf368b827136cf0f37a26e8288 (patch) | |
| tree | 52886c54934fed676263611bdb401dbeb80aac63 /src/types.c | |
| parent | efbdf7b13e4b559958ed5b1b9ca9d772ae77d702 (diff) | |
Change Paths to be an enum of their different types.
Diffstat (limited to 'src/types.c')
| -rw-r--r-- | src/types.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/types.c b/src/types.c index 5c52992b..46df5c64 100644 --- a/src/types.c +++ b/src/types.c @@ -516,7 +516,6 @@ PUREFUNC size_t unpadded_struct_size(type_t *t) { PUREFUNC size_t type_size(type_t *t) { if (t == PATH_TYPE) return sizeof(Path_t); - if (t == PATH_TYPE_TYPE) return sizeof(PathType_t); #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wswitch-default" @@ -605,7 +604,6 @@ PUREFUNC size_t type_size(type_t *t) { PUREFUNC size_t type_align(type_t *t) { if (t == PATH_TYPE) return __alignof__(Path_t); - if (t == PATH_TYPE_TYPE) return __alignof__(PathType_t); #ifdef __GNUC__ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wswitch-default" |
