[collectd] Question about static initialization

Peter Holik peter at holik.at
Thu Aug 14 11:25:14 CEST 2008


Is this not common to all comilers that a static declared variable
is automatically initialized to 0?

instead of

static int c_ipmi_active = 0;

i write

static int c_ipmi_active;

cu Peter




More information about the collectd mailing list