This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: suspicious comparison of SCM value agains zero


Dirk Herrmann <dirk@ida.ing.tu-bs.de> writes:

> In unif.c, about line 2214, there is the following code:
>   ok = ok && scm_array_set_x (SCM_ARRAY_V (ra), SCM_CAR (lst), SCM_MAKINUM (base));
 
The assignment is wrong, but the call to scm_array_set_x has a side
effect, which may not be dispensed with.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]