<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
I have done a scan over the variables that I have already
structified in recent weeks to see where they get initialized.<br>
<br>
Most of the variables I have checked get initialized either at
definition time, or in some sort of init_foo() function. I found
three variables that are never initialized:<br>
<br>
* sys_vars.sys_rootdist<br>
<br>
* mon_data.mru_entries<br>
<br>
* mon_data.mru_peakentries<br>
<br>
sys_rootdist was only recently added to the code, its entire purpose
is to funnel data to mode 6. I believe this could be safely
initialized to 0 with issue.<br>
<br>
mru_entries is incremented and decremented, but is only ever
assigned in mon_stop(). As I understand it it is only through dumb
luck that this is ever correct. I believe it can be initialized to 0
without issue.<br>
<br>
mru_peakentries is a counter, much like sys_rootdist I believe it
can be initialized to 0 without issue.<br>
<br>
I can fix all three of these now. However I do not know when the
pre-1.2 code freeze is happening and do not wish to make any further
changes to the C code until after SELF except as necessary.<br>
<br>
There is also the larger question of do we want variables to be
initialized at definition or within an init_foo()? The code is not
consistent on this and appears to be in the middle of a transition
in some direction. I assume it is in the direction of initialization
functions, but I do not know.<br>
<br>
<div class="moz-signature">-- <br>
<i>"In the end; what separates a Man, from a Slave? Money? Power?
No. A Man Chooses, a Slave Obeys."</i> -- Andrew Ryan
<p>
<i>"Utopia cannot precede the Utopian.
It will exist the moment we are fit to occupy it."</i> --
Sophia Lamb
</p>
<p>
I work for the <a href="https://icei.org/">Internet Civil
Engineering Institute</a>, help us save the Internet from
Entropy!
</p>
</div>
</body>
</html>