diff options
| author | Anghelo Carvajal <angheloalf95@gmail.com> | 2023-08-10 12:36:28 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-10 12:36:28 -0400 |
| commit | 380681908d5dee98c2f335f266738233de632c93 (patch) | |
| tree | 5379399a2037cda599ac60df37a64baee40bb835 /src/code | |
| parent | 0d54e2ae4c473be47dba69ef6d560c49cc86d053 (diff) | |
Add warnings checker to Jenkins (#40)
* Bring over MM's warnings_count system
* Generate base warnings
* Hook warnings to Jenkins
* Fix setup warnings
* splat flag
* git subrepo pull --force tools/splat
subrepo:
subdir: "tools/splat"
merged: "20922ca"
upstream:
origin: "git@github.com:ethteck/splat.git"
branch: "master"
commit: "20922ca"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git"
commit: "2f68596"
* update fixed stuff
* fix warnings
* Fix "F3DEX_GBI_2 redefined" warning
* git subrepo pull --force lib/ultralib
subrepo:
subdir: "lib/ultralib"
merged: "d163fa4"
upstream:
origin: "git@github.com:decompals/ultralib.git"
branch: "main"
commit: "d163fa4"
git-subrepo:
version: "0.4.3"
origin: "https://github.com/ingydotnet/git-subrepo.git"
commit: "2f68596"
* update warning count for lib
* restore custom gbi.h
Diffstat (limited to 'src/code')
| -rw-r--r-- | src/code/c_keyframe.c | 8 | ||||
| -rw-r--r-- | src/code/irqmgr.c | 4 |
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; |
