summaryrefslogtreecommitdiff
path: root/src/wire
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2015-06-19 21:52:58 -0500
committerWushin <pasekei@gmail.com>2015-06-19 21:52:58 -0500
commit079e8815d62e052d654c4263f75cf7007f1cd4c3 (patch)
tree62597b8dada337e1e86ed16e35cf2241fa0732fc /src/wire
parent9d3e5757b1598028be49d4565712002593ae77ed (diff)
parent097e924102d7f9de5fed7c7bc537e378b72a6340 (diff)
downloadtmwa-079e8815d62e052d654c4263f75cf7007f1cd4c3.tar.gz
tmwa-079e8815d62e052d654c4263f75cf7007f1cd4c3.tar.bz2
tmwa-079e8815d62e052d654c4263f75cf7007f1cd4c3.tar.xz
tmwa-079e8815d62e052d654c4263f75cf7007f1cd4c3.zip
Merge pull request #73 from wushin/travis-update
Update Travis for gcc 5
Diffstat (limited to 'src/wire')
-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);