Re: Testing on NULL an unitialized values

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

 



Am Freitag, 23. April 2010 schrub Oliver Bandel:
> Zitat von "Tor Lillqvist" <tml@xxxxxx>:
> >> You are right, that in some seldom situations it might make sense
> >> to initialize values to other start values. But they should always be
> >> predictable.
> >
> > You didn't get the reasoning about letting the compiler, or valgrind,
> > catch use of uninitialized variables, did you?
> 
> I got it.
> But the compiler throws a warning and not an error on it.
> So, it's possible to get running code.

So what? If the programmer decides to ignore warnings it's his deliberate 
choice. At least others have the chance to see those warnings and fix 
them/slap the one who caused them.

Tobias
_______________________________________________
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