Re: Testing on NULL an unitialized values

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

 



On Wed, 2010-04-21 at 13:58 +0200, Oliver Bandel wrote:

> Even only temporarily valies, if set to a certain value,
> like 0 or NULL, will help in finding problems.

Should be totally un-necessary as the compiler will warn you if your
code uses uninitialized variables. We are compiling with -Wall and we
try hard to eliminate all compiler warnings. What you are suggesting
will not improve the code at all, it would most likely even degrade its
readability.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux