summaryrefslogtreecommitdiffhomepage
path: root/serialize
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-04-09 20:31:31 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-04-09 21:15:22 +0200
commitfe767f716a87a707c1937c6ff382b05aedac7200 (patch)
tree992440c989f02ec4dc6c65d726702d69033cc3f9 /serialize
parentb0c0ac90119a0dd72a8fd4664fbc4dc4608478c9 (diff)
try to remove as dead code
Diffstat (limited to 'serialize')
-rw-r--r--serialize/savegame.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/serialize/savegame.cpp b/serialize/savegame.cpp
index c3dbe078..eae4979a 100644
--- a/serialize/savegame.cpp
+++ b/serialize/savegame.cpp
@@ -229,7 +229,10 @@ struct visitor_
non_const_(obj.delta) = delta_ * 65536u;
}
else
+ {
+ std::unreachable();
fm_assert(false);
+ }
}
visit(obj.frame, f);
visit(obj.r, f);