From d1804e489cbe6b8ae7710f43e8726a88c2d92778 Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Thu, 2 Feb 2017 00:28:36 -0500 Subject: [PATCH] Remove warning in Particle example Removed warning: variable 'WPADKeyHeld' set but not used. --- examples/particle/source/main.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/particle/source/main.cpp b/examples/particle/source/main.cpp index 0c539d4..b9fb355 100644 --- a/examples/particle/source/main.cpp +++ b/examples/particle/source/main.cpp @@ -72,7 +72,6 @@ GRRLIB_texImg *GFX_Font; int main() { u32 WPADKeyDown; - u32 WPADKeyHeld; u8 FPS = 0; u32 ParticleCnt = 0; @@ -105,7 +104,6 @@ int main() { while (true) { WPAD_ScanPads(); WPADKeyDown = WPAD_ButtonsDown(WPAD_CHAN_0); - WPADKeyHeld = WPAD_ButtonsHeld(WPAD_CHAN_0); WPAD_SetVRes(WPAD_CHAN_0, WinW, WinH); WPAD_IR(WPAD_CHAN_0, &P1Mote);