summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
Diffstat (limited to 'src/code')
-rw-r--r--src/code/c_keyframe.c8
-rw-r--r--src/code/irqmgr.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/src/code/c_keyframe.c b/src/code/c_keyframe.c
index 6353f29..9df0986 100644
--- a/src/code/c_keyframe.c
+++ b/src/code/c_keyframe.c
@@ -269,7 +269,7 @@ s16 cKF_KeyCalc(s16 startIndex, s16 sequenceLength, Keyframe* dataSource, f32 cu
void cKF_SkeletonInfo_subRotInterpolation(f32 t, s16* out, s16 jointRotation, s16 morphRotation) {
u16 urot1 = jointRotation;
- s32 pad;
+ s32 pad UNUSED;
u16 urot2 = morphRotation;
f32 f1 = jointRotation;
f32 signedDiff = morphRotation - f1;
@@ -320,7 +320,7 @@ void cKF_SkeletonInfo_R_ct(SkeletonInfoR* skeletonInfo, BaseSkeletonR* skeleton,
skeletonInfo->morphTable = morphTable;
}
-void cKF_SkeletonInfo_R_dt(SkeletonInfoR* skeletonInfo) {
+void cKF_SkeletonInfo_R_dt(SkeletonInfoR* skeletonInfo UNUSED) {
}
void cKF_SkeletonInfo_R_init_standard_stop(SkeletonInfoR* skeletonInfo, BaseAnimationR* animation,
@@ -1173,14 +1173,14 @@ void cKF_SkeletonInfo_R_AnimationMove_base(Vec3f* arg0, Vec3s* arg1, Vec3f* arg2
f32 baseTranslationZTemp = skeletonInfo->animationMove.baseShapeTranslation.z;
f32 sin1 = sin_s(var_a0);
f32 cos1 = cos_s(var_a0);
- s32 pad[2];
+ s32 pad[2] UNUSED;
f32 move_x = arg2->x * (sp78->x - ((baseTranslationXTemp * cos1) + (baseTranslationZTemp * sin1)));
f32 move_z = arg2->z * (sp78->z - ((-baseTranslationXTemp * sin1) + (baseTranslationZTemp * cos1)));
f32 sin2 = sin_s(arg3);
f32 cos2 = cos_s(arg3);
f32 correctBaseWorldXTemp = skeletonInfo->animationMove.shapeWorldPositionCorrection.x;
f32 correctBaseWorldZTemp = skeletonInfo->animationMove.shapeWorldPositionCorrection.z;
- s32 pad2[2];
+ s32 pad2[2] UNUSED;
arg0->x = (skeletonInfo->animationMove.baseWorldPosition.x + correctBaseWorldXTemp) +
((move_x * cos2) + (move_z * sin2));
diff --git a/src/code/irqmgr.c b/src/code/irqmgr.c
index 82cd38d..a2faa5d 100644
--- a/src/code/irqmgr.c
+++ b/src/code/irqmgr.c
@@ -1,9 +1,9 @@
-
#include "irqmgr.h"
#include "libu64/stackcheck.h"
#include "m_thread.h"
#include "PR/os_internal.h"
#include "macros.h"
+#include "attributes.h"
Irqmgr irqmgr_class;
Irqmgr* this;
@@ -130,7 +130,7 @@ void irqmgr_HandleRetrace(void) {
irqmgr_SendMesgToClients(&this->msgRetrace);
}
-void irqmgr_Main(void* arg) {
+void irqmgr_Main(void* arg UNUSED) {
OSMesg msg = (OSMesg)0;
u8 exit = 0;