|
From: Dennis L. <pla...@gm...> - 2004-09-28 18:19:58
|
At 18:44 28.09.2004, you wrote: >==25533== Conditional jump or move depends on uninitialised value(s) >==25533== at 0x805AC84: find_dev_cap(unsigned) (imilib.cpp:1449) > >result is defined as int, and get_number_of_luns() returns int. So result >cannot be uninitialized here. Valgrind does not only check for uninitialized complete variables, but for single bits. You should check the get_number_of_luns() call where exactly the values come from, and if they are "initialized" by logical bit operations, which might leave even one bit unset... greets Dennis Carpe quod tibi datum est |