summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev')
-rw-r--r--src/dev/net/etherlink.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/net/etherlink.cc b/src/dev/net/etherlink.cc
index 448bb8856..e2506393e 100644
--- a/src/dev/net/etherlink.cc
+++ b/src/dev/net/etherlink.cc
@@ -242,7 +242,7 @@ EtherLink::Link::unserialize(const string &base, CheckpointIn &cp)
parent->schedule(doneEvent, event_time);
}
- size_t tx_queue_size;
+ size_t tx_queue_size = 0;
if (optParamIn(cp, base + ".tx_queue_size", tx_queue_size)) {
for (size_t idx = 0; idx < tx_queue_size; ++idx) {
Tick tick;