[Scummvm-git-logs] scummvm master -> 1eee21e9ec924da0e087c11d6cac1f3ebe2fe3ca
grisenti
noreply at scummvm.org
Thu Oct 19 13:33:41 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
1eee21e9ec HPL1: Remove always-true assert
Commit: 1eee21e9ec924da0e087c11d6cac1f3ebe2fe3ca
https://github.com/scummvm/scummvm/commit/1eee21e9ec924da0e087c11d6cac1f3ebe2fe3ca
Author: grisenti (emanuele at grisenti.net)
Date: 2023-10-19T15:33:17+02:00
Commit Message:
HPL1: Remove always-true assert
Fixes GCC warning
Changed paths:
engines/hpl1/engine/libraries/newton/core/dgGoogol.cpp
diff --git a/engines/hpl1/engine/libraries/newton/core/dgGoogol.cpp b/engines/hpl1/engine/libraries/newton/core/dgGoogol.cpp
index 3f216e590de..30649b7dba1 100644
--- a/engines/hpl1/engine/libraries/newton/core/dgGoogol.cpp
+++ b/engines/hpl1/engine/libraries/newton/core/dgGoogol.cpp
@@ -38,9 +38,6 @@ dgGoogol::dgGoogol(dgFloat64 value) :
memset(m_mantissa, 0, sizeof(m_mantissa));
m_mantissa[0] = (dgInt64(dgFloat64(dgUnsigned64(1) << 62) * mantissa));
-
- // it looks like GCC have problems with this
- NEWTON_ASSERT(m_mantissa[0] >= 0);
}
dgGoogol::~dgGoogol(void) {
More information about the Scummvm-git-logs
mailing list