http://bugs.winehq.org/show_bug.cgi?id=28756
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #1 from Bruno Jesus 00cpxxx@gmail.com 2011-10-20 18:08:00 CDT --- This is really weird. The get_cached_fd function is inline and there is no way that this variable is left uninitialised. Maybe setting entry = 0 will silence the valgrind warning, but should produce a new "dead assignment" warning.
There are 3 different functions using the exact same approach: get_cache_fd, server_remove_fd_from_cache and add_fd_to_cache.
It seems that the compiler thought it was better to not inline the function or valgind is checking the source and is ignoring the inline attribute.