|
From: <sv...@va...> - 2011-10-05 03:34:43
|
Author: florian
Date: 2011-10-05 04:29:57 +0100 (Wed, 05 Oct 2011)
New Revision: 12100
Log:
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.
Modified:
trunk/exp-sgcheck/tests/bad_percentify.c
Modified: trunk/exp-sgcheck/tests/bad_percentify.c
===================================================================
--- trunk/exp-sgcheck/tests/bad_percentify.c 2011-10-05 03:09:01 UTC (rev 12099)
+++ trunk/exp-sgcheck/tests/bad_percentify.c 2011-10-05 03:29:57 UTC (rev 12100)
@@ -98,8 +98,8 @@
{
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,
|