On Sat 27 Nov 2004, John E. Malmberg wrote:

> In the module generator.c, there is a static struct sum_struct null_sum 
> that is not initialized by any way that I can determine in the routine 
> write_sum_head.

A static data structure is guaranteed to be initialised to zero...

> Shouldn't it more correctly be:
> 
>     const struct sum_struct null_num = {0, 0, 0, 0, 0, NULL};

Perhaps more readable, but in no way more correct.


Paul Slootman
-- 
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to