mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-23 23:37:48 -05:00
Fix warnings about omitted parameter names in scsiapi_macos.c
This commit is contained in:
@@ -23,17 +23,22 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define UNUSED(x) (void)(x)
|
||||
|
||||
/*---------------------------------------------------------*\
|
||||
| Functions |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
void scsi_close(struct scsi_device * /*dev*/)
|
||||
void scsi_close(struct scsi_device * dev)
|
||||
{
|
||||
|
||||
UNUSED(dev);
|
||||
}
|
||||
|
||||
struct scsi_device_info * scsi_enumerate(const char * /*vendor*/, const char * /*product*/)
|
||||
struct scsi_device_info * scsi_enumerate(const char * vendor, const char * product)
|
||||
{
|
||||
UNUSED(vendor);
|
||||
UNUSED(product);
|
||||
|
||||
return(NULL);
|
||||
}
|
||||
|
||||
@@ -54,13 +59,23 @@ void scsi_free_enumeration(struct scsi_device_info * devs)
|
||||
}
|
||||
}
|
||||
|
||||
struct scsi_device * scsi_open_path(const char * /*path*/)
|
||||
struct scsi_device * scsi_open_path(const char * path)
|
||||
{
|
||||
UNUSED(path);
|
||||
|
||||
return(NULL);
|
||||
}
|
||||
|
||||
int scsi_write(struct scsi_device * /*dev*/, const unsigned char * /*data*/, size_t /*data_length*/, const unsigned char * /*cdb*/, size_t /*cdb_length*/, unsigned char * /*sense*/, size_t /*sense_length*/)
|
||||
int scsi_write(struct scsi_device * dev, const unsigned char * data, size_t data_length, const unsigned char * cdb, size_t cdb_length, unsigned char * sense, size_t sense_length)
|
||||
{
|
||||
UNUSED(dev);
|
||||
UNUSED(data);
|
||||
UNUSED(data_length);
|
||||
UNUSED(cdb);
|
||||
UNUSED(cdb_length);
|
||||
UNUSED(sense);
|
||||
UNUSED(sense_length);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user