Re: libs/wine/debug.c: enlcosed a 'write' function with 'if' to prevent gcc warnings. 'if' does nothing cause program exits right after the statement anyway. (bug # 16413)
4 Jan
2009
4 Jan
'09
4:43 p.m.
titon barua <titanix88(a)gmail.com> writes:
@@ -177,7 +177,8 @@ static void debug_usage(void) "Example: WINEDEBUG=+all,warn-heap\n" " turns on all messages except warning heap messages\n" "Available message classes: err, warn, fixme, trace\n"; - write( 2, usage, sizeof(usage) - 1 ); + /* enclosed in 'if' statement to prevent gcc warnings */ + if (write( 2, usage, sizeof(usage) - 1 ));
Please don't do that sort of thing. That's much worse than the warning. -- Alexandre Julliard julliard(a)winehq.org
6193
Age (days ago)
6193
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard