diff options
| author | 2025-12-30 20:29:48 +0000 | |
|---|---|---|
| committer | 2026-04-04 01:37:54 +0100 | |
| commit | 0fdf9b3ed716a8baf048e7e302c4d9e727999df2 (patch) | |
| tree | 675114ca44ca4209dc60b69f3b3e86a76e6aaa66 /src/fixes.c | |
| parent | 7d49288bff1fa4e5bacc0eb69ed46c69db622b76 (diff) | |
| download | sst-0fdf9b3ed716a8baf048e7e302c4d9e727999df2.tar.gz sst-0fdf9b3ed716a8baf048e7e302c4d9e727999df2.zip | |
Size-optimise a little more, and tweak minor stuff
This isn't really making a difference right now but maybe it will in
future builds with different section padding or LTO optimiser
interactions or whatever.
Diffstat (limited to 'src/fixes.c')
| -rw-r--r-- | src/fixes.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/fixes.c b/src/fixes.c index b7e3bcd..e5b31b2 100644 --- a/src/fixes.c +++ b/src/fixes.c @@ -28,11 +28,9 @@ #include "ppmagic.h" #include "sst.h" -static inline void chflags(const char *name, int unset, int unset_ne, int set) { +static void chflags(const char *name, int unset, int unset_ne, int set) { struct con_var *v = con_findvar(name); - if_hot (!GAMETYPE_MATCHES(OE)) { - unset |= unset_ne; - } + if_hot (!GAMETYPE_MATCHES(OE)) unset |= unset_ne; if (v) { struct con_var *p = con_getvarcommon(v)->parent; p->base.flags = p->base.flags & ~unset | set; |
