Re: Testing on NULL an unitialized values

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

 



Zitat von "Martin Nordholts" <enselic@xxxxxxxxx>:

> On 04/21/2010 01:58 PM, Oliver Bandel wrote:
>> Even only temporarily valies, if set to a certain value,
>> like 0 or NULL, will help in finding problems.
>
> I agree, and I try to initialize all local variables that I either add
> or modify the declaration of. I don't think it would be worth to commit
> a patch that initializes all variables though


Hmhhh...

...but the next time when you work on a function, you could just do  
that part too?

I really have thought about a patch that i sintended just to do only  
that: adding the initializations.



> because it would break git
> blame.

git blame?


Can you explain me that?


Ciao,
    Oliver

_______________________________________________
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