summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2022-07-31 15:02:28 -0700
committerGitHub <noreply@github.com>2022-07-31 15:02:28 -0700
commit9c66c276b4d273fe3c395898d69d53db2ebc5c0c (patch)
tree09c2e4a4badba3ee9d561b506e5a2ddf364ffbee
parentde3d9346e2601c34b1c5a51ced6493cd0c74eff4 (diff)
parent0329398b41179dabe900a432a4941c9fb0eca329 (diff)
Merge pull request #6 from zsrtp/fix_warnHEADmaster
fix: warnings
-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)