summaryrefslogtreecommitdiff
path: root/src/sim/global_event.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/global_event.hh')
-rw-r--r--src/sim/global_event.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/global_event.hh b/src/sim/global_event.hh
index 88981b52a..1aab4a233 100644
--- a/src/sim/global_event.hh
+++ b/src/sim/global_event.hh
@@ -219,7 +219,7 @@ class GlobalSyncEvent : public BaseGlobalEventTemplate<GlobalSyncEvent>
};
GlobalSyncEvent(Priority p, Flags f)
- : Base(p, f)
+ : Base(p, f), repeat(0)
{ }
GlobalSyncEvent(Tick when, Tick _repeat, Priority p, Flags f)