Suppress unused variable warnings
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m54s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m54s
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user