Closed winspool closed 11 years ago
gcc-4.7.1 doesn't warn about this and I really dislike this patch. get_glyph() should always set "glyph" if it returns 0/success. Moreover, your fix does hide bugs inside of get_glyph() if we do not correctly set the return values.
If you want to silence this warning, then please find the root of it. The only idea I have is that gcc doesn't correctly handle shl_hashtable_find() and hence produces this warning.
Thanks! David
With the patch, kmscon compile now without warnings.
Signed-off-by: Detlef Riekenberg wine.dev@web.de