summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2020-04-16 11:23:10 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2020-04-16 11:23:10 +0200
commit2e38681cd0b34e1ce36a6417445f3a7ca75f246c (patch)
treece2a4b5cdafaa65fd92f84c7e05c0e44ee53521e
parent6100df4127eca5f9733cd5fa51acd32c8febd754 (diff)
downloadlibnitrokey-2e38681cd0b34e1ce36a6417445f3a7ca75f246c.tar.gz
libnitrokey-2e38681cd0b34e1ce36a6417445f3a7ca75f246c.tar.bz2
Fix build warning - possibly uninitialized value
-rw-r--r--libnitrokey/device_proto.h2
1 files changed, 1 insertions, 1 deletions
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;