summaryrefslogtreecommitdiff
path: root/src/vehiclelist.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/vehiclelist.cpp')
-rw-r--r--src/vehiclelist.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vehiclelist.cpp b/src/vehiclelist.cpp
index ea34c443c..18dbef35f 100644
--- a/src/vehiclelist.cpp
+++ b/src/vehiclelist.cpp
@@ -53,8 +53,7 @@ bool VehicleListIdentifier::UnpackIfValid(uint32 data)
/* static */ VehicleListIdentifier VehicleListIdentifier::UnPack(uint32 data)
{
VehicleListIdentifier result;
- bool ret = result.UnpackIfValid(data);
- (void)ret; // assert only
+ [[maybe_unused]] bool ret = result.UnpackIfValid(data);
assert(ret);
return result;
}