Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(872)

Unified Diff: device/bluetooth/bluetooth_low_energy_win.cc

Issue 1995983002: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluetooth_low_energy_win.cc
diff --git a/device/bluetooth/bluetooth_low_energy_win.cc b/device/bluetooth/bluetooth_low_energy_win.cc
index 3ecf56fff900e384aaccb7911f59fba9424bd912..b96277c18304793884ede9fdf120e52dde686a4e 100644
--- a/device/bluetooth/bluetooth_low_energy_win.cc
+++ b/device/bluetooth/bluetooth_low_energy_win.cc
@@ -595,17 +595,14 @@ DeviceRegistryPropertyValue::Create(DWORD property_type,
break;
}
}
- return base::WrapUnique(new DeviceRegistryPropertyValue(
- property_type, std::move(value), value_size));
+ return base::WrapUnique(
+ new DeviceRegistryPropertyValue(property_type, std::move(value)));
}
DeviceRegistryPropertyValue::DeviceRegistryPropertyValue(
DWORD property_type,
- std::unique_ptr<uint8_t[]> value,
- size_t value_size)
- : property_type_(property_type),
- value_(std::move(value)),
- value_size_(value_size) {}
+ std::unique_ptr<uint8_t[]> value)
+ : property_type_(property_type), value_(std::move(value)) {}
DeviceRegistryPropertyValue::~DeviceRegistryPropertyValue() {
}

Powered by Google App Engine
This is Rietveld 408576698