diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-12-31 19:41:40 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2024-12-31 19:41:40 +1100 |
commit | 5247c4855174bdfe3db741f8de18e54d37fb89da (patch) | |
tree | 9757129677688150870078aa147a934ffd6d125c /source/core/StarNetElementFloatFields.hpp | |
parent | cb893f0f526fb8b508cbfa17fb6c58648390b28a (diff) |
actually silence Clang unused warns
[skip ci]
Diffstat (limited to 'source/core/StarNetElementFloatFields.hpp')
-rw-r--r-- | source/core/StarNetElementFloatFields.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/core/StarNetElementFloatFields.hpp b/source/core/StarNetElementFloatFields.hpp index b8ec28f..44e0a89 100644 --- a/source/core/StarNetElementFloatFields.hpp +++ b/source/core/StarNetElementFloatFields.hpp @@ -165,7 +165,8 @@ bool NetElementFloating<T>::writeNetDelta(DataStream& ds, uint64_t fromVersion, } template <typename T> -void NetElementFloating<T>::readNetDelta(DataStream& ds, float interpolationTime, NetCompatibilityRules _rules) { +void NetElementFloating<T>::readNetDelta(DataStream& ds, float interpolationTime, NetCompatibilityRules rules) { + _unused(rules) T t = readValue(ds); m_latestUpdateVersion = m_netVersion ? m_netVersion->current() : 0; |