Bugzilla – Attachment 148224 Details for
Bug 122639
With gcc flag -Werror programs are not compiling using the lib
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Added some brackets to make it more clear for the compile which things belongs to the if body
0001-Added-some-brackets-to-make-it-more-clear-for-the-co.patch (text/plain), 1.21 KB, created by
groll
on 2019-01-10 16:05:07 UTC
(
hide
)
Description:
Added some brackets to make it more clear for the compile which things belongs to the if body
Filename:
MIME Type:
Creator:
groll
Created:
2019-01-10 16:05:07 UTC
Size:
1.21 KB
patch
obsolete
>From 229ad5a2f67bacb6a7a0e7a80ca27619f4d2ab6a Mon Sep 17 00:00:00 2001 >From: Tobias Groll <groll@cs.uni-kl.de> >Date: Thu, 10 Jan 2019 17:03:47 +0100 >Subject: [PATCH] Added some brackets to make it more clear for the compile > which things belongs to the if body > >--- > include/cppunit/TestAssert.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/include/cppunit/TestAssert.h b/include/cppunit/TestAssert.h >index bb29ac0..39d6288 100644 >--- a/include/cppunit/TestAssert.h >+++ b/include/cppunit/TestAssert.h >@@ -517,7 +517,7 @@ void assertGreaterEqual( const T& expected, > } \ > \ > if ( cpputCorrectExceptionThrown_ ) \ >- break; \ >+ { break; } \ > \ > CPPUNIT_NS::Asserter::fail( cpputMsg_, \ > CPPUNIT_SOURCELINE() ); \ >-- >2.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 122639
: 148224