From 2e38681cd0b34e1ce36a6417445f3a7ca75f246c Mon Sep 17 00:00:00 2001
From: Szczepan Zalega <szczepan@nitrokey.com>
Date: Thu, 16 Apr 2020 11:23:10 +0200
Subject: Fix build warning - possibly uninitialized value

---
 libnitrokey/device_proto.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libnitrokey/device_proto.h b/libnitrokey/device_proto.h
index 45a6c16..6ffe5fb 100644
--- a/libnitrokey/device_proto.h
+++ b/libnitrokey/device_proto.h
@@ -249,7 +249,7 @@ namespace nitrokey {
               }
               dev->m_counters.total_comm_runs++;
 
-              int status;
+              int status = 0;
               OutgoingPacket outp;
               ResponsePacket resp;
 
-- 
cgit v1.2.3