denemo-devel
[Top][All Lists]
Advanced

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

Re: [Denemo-devel] Denemo warnings and code cleanup


From: Richard Shann
Subject: Re: [Denemo-devel] Denemo warnings and code cleanup
Date: Tue, 14 May 2013 14:51:56 +0100

On Tue, 2013-05-14 at 11:47 +0200, Éloi Rivard wrote:
> Hi,
> 
> Could you have a look at scheme_create_timebase function in view.c.
> The "if" statement emits a warnings, but I don't know how to fix it.
> 
> Should it be a double equals operator, or the affectation before the
> "if" statement ?

Good work - it is actually an ! that is missing. I use the idiom
if((a=b)) ... whenever I am tempted to assign and test in one go. I have
fixed this line in git master, thanks for the detective work.

Richard


> 
> -- 
> Éloi Rivard - address@hidden
>         
> « On perd plus à être indécis qu'à se tromper. »
> 
> _______________________________________________
> Denemo-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/denemo-devel





reply via email to

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