aboutsummaryrefslogtreecommitdiff
path: root/src/device/device_ledger.cpp
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2019-01-09 05:32:04 +0100
committerselsta <selsta@sent.at>2019-01-09 05:33:49 +0100
commit93c216443496c8ca1fb7f8d2e3a4e70561ea4737 (patch)
tree79626933eddfa0134f1f119b33d496afeb6cffa2 /src/device/device_ledger.cpp
parentMerge pull request #5045 (diff)
downloadmonero-93c216443496c8ca1fb7f8d2e3a4e70561ea4737.tar.xz
device_ledger: remove full_name variable
This variable was never set, resulting in the device name always showing as "disconnected".
Diffstat (limited to 'src/device/device_ledger.cpp')
-rw-r--r--src/device/device_ledger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/device_ledger.cpp b/src/device/device_ledger.cpp
index bfb41bbe4..20dc79929 100644
--- a/src/device/device_ledger.cpp
+++ b/src/device/device_ledger.cpp
@@ -322,7 +322,7 @@ namespace hw {
}
const std::string device_ledger::get_name() const {
- if (this->full_name.empty() || !this->connected()) {
+ if (!this->connected()) {
return std::string("<disconnected:").append(this->name).append(">");
}
return this->name;