fix compiler warnings (#3094)

This commit is contained in:
Jcw87
2026-02-11 00:14:18 -08:00
committed by GitHub
parent e537b32c66
commit a07ec61d66
10 changed files with 11 additions and 25 deletions
+1 -1
View File
@@ -752,7 +752,7 @@ int daNpcT_Path_c::chkPassed2(cXyz i_pnt, cXyz* param_2, int i_num, int param_4)
}
#if DEBUG
int daNpcT_Path_c::drawDbgInfo(f32 param_0, int param_1) {
void daNpcT_Path_c::drawDbgInfo(f32 param_0, int param_1) {
GXColor green = {0x80, 0xff, 0x80, 0xff};
GXColor blue = {0x80, 0x80, 0xff, 0xff};
GXColor red = {0xff, 0x80, 0x80, 0xff};
+1 -5
View File
@@ -874,11 +874,7 @@ void dDlst_blo_c::draw() {
}
// stand-in for a function that pulls in a bunch of inline functions but was presumably stripped
static void dummy_misc() {
J2DScreen* screen;
J2DPane* pane;
J2DPicture* picture;
J2DAnmBase* anmBase;
static void dummy_misc(J2DAnmBase* anmBase, J2DPicture* picture, J2DPane* pane, J2DScreen* screen) {
delete anmBase;
picture->setBlack(JUtility::TColor(0, 0, 0, 0));
picture->setWhite(JUtility::TColor(0, 0, 0, 0));
+1 -2
View File
@@ -16,8 +16,7 @@
#include "f_op/f_op_actor.h"
#include "m_Do/m_Do_controller_pad.h"
static void dummy1(mDoExt_btkAnm* btk) {
cXyz pos;
static void dummy1(mDoExt_btkAnm* btk, cXyz& pos) {
GXColor color;
OS_REPORT("d_lib.cpp");
OS_REPORT("brk != 0");
+2
View File
@@ -94,10 +94,12 @@ void dMpath_HIO_n::hioList_c::update(JORMContext* mctx) {
u32 dMpath_HIO_n::hioList_c::addString(char* param_1, u32 param_2, u32 param_3) const {
// DEBUG NONMATCHING
return param_2;
}
u32 dMpath_HIO_n::hioList_c::addStringBinary(char* param_1, u32 param_2, u32 param_3) const {
// DEBUG NONMATCHING
return param_2;
}
BOOL dMpath_HIO_file_base_c::writeHostioTextFile(const char* param_1) {