lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uninitialized SCM variables


From: Carl Sorensen
Subject: Re: Uninitialized SCM variables
Date: Wed, 17 Aug 2011 05:53:40 -0600

\On 8/16/11 10:25 PM, "Dan Eble" <address@hidden> wrote:

> Is there a reason that these variables in lily/profile.cc don't need to be
> initialized?  I don't have experience with guile, but it looks dangerous.
> 
> SCM context_property_lookup_table;
> SCM grob_property_lookup_table;
> SCM prob_property_lookup_table;

I guess the code in this section relies on the fact that the compiler will
initialize the unitialized value to zero.   Do you believe that is a
problem?

Thanks,

Carl




reply via email to

[Prev in Thread] Current Thread [Next in Thread]