A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initialize fields at declaration, for clarity
[simgrid.git]
/
src
/
surf
/
network_interface.hpp
diff --git
a/src/surf/network_interface.hpp
b/src/surf/network_interface.hpp
index
c89b7ff
..
ec90a5c
100644
(file)
--- a/
src/surf/network_interface.hpp
+++ b/
src/surf/network_interface.hpp
@@
-227,8
+227,8
@@
public:
/* Using this object with the public part of
model does not make sense */
/* Using this object with the public part of
model does not make sense */
- double m_latCurrent;
- tmgr_trace_event_t p_latEvent;
+ double m_latCurrent
= 0
;
+ tmgr_trace_event_t p_latEvent
= NULL
;
/* LMM */
tmgr_trace_event_t p_stateEvent = NULL;
/* LMM */
tmgr_trace_event_t p_stateEvent = NULL;