4 Nov
2015
4 Nov
'15
09:02
On Wednesday 2015-11-04 09:01, Takashi Iwai wrote:
On Wed, 04 Nov 2015 08:46:04 +0100, Andreas Schwab wrote:
Takashi Iwai
writes: Returning an integer or boolean value isn't necessarily wrong in many codes, and this can be such a case, I suppose (although I can't say exactly as I also haven't looked at the code).
It is never ok to return a boolean in a function that returns a pointer.
It is OK if it's cast.
Gagging compiler warnings with cast does not mean the problem is suddenly gone. You cannot infer from absence of diagnostics that the program is bugfree at the source level. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org