Suppress unused variable warnings
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m54s

This commit is contained in:
2026-02-17 00:43:13 +01:00
parent 9aea870159
commit a0c63ebb92
2 changed files with 6 additions and 2 deletions

View File

@@ -91,6 +91,8 @@ int ramdrv_get_sector_size (struct device* device, struct device_op_ctx* op_ctx,
int ramdrv_read (struct device* device, struct device_op_ctx* op_ctx, void* a1, void* a2, void* a3,
void* a4) {
(void)op_ctx, (void)a4;
if (a1 == NULL || a2 == NULL || a3 == NULL)
return -ST_BAD_ADDRESS_SPACE;