summaryrefslogtreecommitdiff
path: root/device.cc
diff options
context:
space:
mode:
Diffstat (limited to 'device.cc')
-rw-r--r--device.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/device.cc b/device.cc
index 3075c0d..cf4b222 100644
--- a/device.cc
+++ b/device.cc
@@ -15,7 +15,8 @@ Device::Device()
m_pid(0),
m_retry_count(40),
m_retry_timeout(50),
- mp_devhandle(NULL) {}
+ mp_devhandle(NULL),
+ last_command_status(0){}
bool Device::disconnect() {
Log::instance()(__PRETTY_FUNCTION__, Loglevel::DEBUG_L2);