summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwushin <pasekei@gmail.com>2015-05-24 12:29:07 -0500
committerwushin <pasekei@gmail.com>2015-05-24 14:10:05 -0500
commitb8519f9aa5ecd6cad984d53b27269ae9dec37b47 (patch)
tree0bc6d2ea4fcdd3a4b40c7aa4457370cad6dc7339 /src
parenta5d6e25bdbccd24f750852dcc0b3cd7b83e339d6 (diff)
downloadtmwa-b8519f9aa5ecd6cad984d53b27269ae9dec37b47.tar.gz
tmwa-b8519f9aa5ecd6cad984d53b27269ae9dec37b47.tar.bz2
tmwa-b8519f9aa5ecd6cad984d53b27269ae9dec37b47.tar.xz
tmwa-b8519f9aa5ecd6cad984d53b27269ae9dec37b47.zip
Unintialized Byte
Diffstat (limited to 'src')
-rw-r--r--src/wire/packets.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wire/packets.cpp b/src/wire/packets.cpp
index be06283..22a996a 100644
--- a/src/wire/packets.cpp
+++ b/src/wire/packets.cpp
@@ -76,6 +76,7 @@ void packet_dump(Session *s)
if ((i & 15) == 0)
FPRINTF(stderr, "%04X "_fmt, i);
Byte rfifob_ib;
+ rfifob_ib.value = 0;
packet_fetch(s, i, &rfifob_ib, 1);
uint8_t rfifob_i = rfifob_ib.value;
FPRINTF(stderr, "%02x "_fmt, rfifob_i);