summaryrefslogtreecommitdiff
path: root/src/m_Do
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2026-03-18 01:38:05 -0400
committerGitHub <noreply@github.com>2026-03-17 22:38:05 -0700
commit6694c1b281a142972fce587bd20cd82ee65ab38f (patch)
tree2537d09d5ab3d270eaca5143a4f2f2f65f4ecb49 /src/m_Do
parent9f340b604b5ac3d19d330b7bd6a2d7355c58bc27 (diff)
Fix a bunch of compiler warnings and document several more bugs (#3130)
Diffstat (limited to 'src/m_Do')
-rw-r--r--src/m_Do/m_Do_dvd_thread.cpp2
-rw-r--r--src/m_Do/m_Do_ext.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/m_Do/m_Do_dvd_thread.cpp b/src/m_Do/m_Do_dvd_thread.cpp
index 0d9eabfad9..550cb9b587 100644
--- a/src/m_Do/m_Do_dvd_thread.cpp
+++ b/src/m_Do/m_Do_dvd_thread.cpp
@@ -155,7 +155,7 @@ static void cb(void* param_0) {
void mDoDvdThd_param_c::mainLoop() {
mDoDvdThd_command_c* command;
while (this->waitForKick() != 0) {
- while (command = this->getFirstCommand()) {
+ while ((command = this->getFirstCommand())) {
this->cut(command);
if (mDoDvdThd::SyncWidthSound) {
JASDvd::getThreadPointer()->sendCmdMsg(cb, &command, 4);
diff --git a/src/m_Do/m_Do_ext.cpp b/src/m_Do/m_Do_ext.cpp
index b0d2a8a821..735c8684e7 100644
--- a/src/m_Do/m_Do_ext.cpp
+++ b/src/m_Do/m_Do_ext.cpp
@@ -71,11 +71,11 @@ static void mDoExt_setJ3DData(Mtx mtx, const J3DTransformInfo* transformInfo, u1
*mtx_p++ *= sp0C.x;
*mtx_p++ *= sp0C.x;
*mtx_p++ *= sp0C.x;
- *mtx_p++;
+ UNUSED(*mtx_p++);
*mtx_p++ *= sp0C.y;
*mtx_p++ *= sp0C.y;
*mtx_p++ *= sp0C.y;
- *mtx_p++;
+ UNUSED(*mtx_p++);
*mtx_p++ *= sp0C.z;
*mtx_p++ *= sp0C.z;
*mtx_p++ *= sp0C.z;