mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-07 00:14:49 -04:00
Windows: MSVC2017: fixed some attribute unused cases
This commit is contained in:
@@ -30,11 +30,7 @@ public:
|
||||
protected:
|
||||
DeviceHackRF();
|
||||
DeviceHackRF(const DeviceHackRF&) {}
|
||||
#ifdef _MSC_VER
|
||||
DeviceHackRF& operator=(const DeviceHackRF& other) { return *this; }
|
||||
#else
|
||||
DeviceHackRF& operator=(const DeviceHackRF& other __attribute__((unused))) { return *this; }
|
||||
#endif
|
||||
DeviceHackRF& operator=(const DeviceHackRF& other) { (void) other; return *this; }
|
||||
~DeviceHackRF();
|
||||
private:
|
||||
static hackrf_device *open_hackrf_from_sequence(int sequence);
|
||||
|
||||
Reference in New Issue
Block a user