summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkipcode66 <kipcode66@gmail.com>2022-07-25 02:51:22 -0400
committerkipcode66 <kipcode66@gmail.com>2022-07-25 02:51:22 -0400
commit0329398b41179dabe900a432a4941c9fb0eca329 (patch)
tree09c2e4a4badba3ee9d561b506e5a2ddf364ffbee
parentde3d9346e2601c34b1c5a51ced6493cd0c74eff4 (diff)
fix: warningsfix_warn
-rw-r--r--include/storage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/storage.h b/include/storage.h
index 9789a33..f43942d 100644
--- a/include/storage.h
+++ b/include/storage.h
@@ -56,7 +56,7 @@ typedef struct Storage {
#define StorageRead(storage, data, length, offset) ({(storage).result = CARDRead(&(storage).info, data, length, offset);})
#define StorageWrite(storage, data, length, offset) ({(storage).result = CARDWrite(&(storage).info, data, length, offset);})
#else // WII_PLATFORM
-#define StorageCreate(ch, fileName, size, fileBuffer) NANDCreate(fileName, 0x34, 0)
+#define StorageCreate(ch, fileName, size, fileBuffer) ({(void)size; (void)fileBuffer; NANDCreate(fileName, 0x34, 0);})
#define StorageDelete(ch, fileName) NANDDelete(fileName)
#define StorageOpen(ch, fileName, fileInfo, mode) NANDOpen(fileName, fileInfo, mode)
#define StorageClose(fileInfo) NANDClose(fileInfo)