[Bluetooth] Remove unused variables
authorJesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
Tue, 17 Sep 2013 17:53:41 +0000 (14:53 -0300)
committerJesus Sanchez-Palencia <jesus.sanchez-palencia@intel.com>
Tue, 17 Sep 2013 17:53:41 +0000 (14:53 -0300)
bluetooth/bluetooth_context_bluez4.cc

index bbfd9da..309aba1 100644 (file)
@@ -447,7 +447,6 @@ void BluetoothContext::HandleSetAdapterProperty(const picojson::value& msg) {
 }
 
 void BluetoothContext::HandleCreateBonding(const picojson::value& msg) {
-  GError *error = 0;
   std::string address = msg.get("address").to_str();
   callbacks_map_["CreateBonding"] = msg.get("reply_id").to_str();
 
@@ -457,7 +456,6 @@ void BluetoothContext::HandleCreateBonding(const picojson::value& msg) {
 }
 
 void BluetoothContext::HandleDestroyBonding(const picojson::value& msg) {
-  GError* error = 0;
   std::string address = msg.get("address").to_str();
   callbacks_map_["DestroyBonding"] = msg.get("reply_id").to_str();