mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Attempt to unbreak this testcase on systems with GCC 4.5.1 and newer.
I suspect the breakage is related to GCC's debug info. Replace initialization with explicit assignment statement. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12100
This commit is contained in:
parent
ddd11cf638
commit
31bc246787
@ -98,8 +98,8 @@ static UInt vprintf_WRK ( OutputSink* sink,
|
||||
{
|
||||
printf_buf_t myprintf_buf
|
||||
= { "", 0, sink };
|
||||
UInt ret
|
||||
= vprintf_to_buf(&myprintf_buf, format, vargs);
|
||||
UInt ret;
|
||||
ret = vprintf_to_buf(&myprintf_buf, format, vargs);
|
||||
// Write out any chars left in the buffer.
|
||||
if (myprintf_buf.buf_used > 0) {
|
||||
send_bytes_to_logging_sink( myprintf_buf.sink,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user