Blame subversion-1.14.0-testwarn.patch
|
|
f8836c5 |
|
|
|
f8836c5 |
Suppress gcc 10 warning.
|
|
|
f8836c5 |
|
|
|
f8836c5 |
--- subversion-1.14.0/subversion/tests/svn_test.h.testwarn
|
|
|
f8836c5 |
+++ subversion-1.14.0/subversion/tests/svn_test.h
|
|
|
f8836c5 |
@@ -128,7 +128,7 @@
|
|
|
f8836c5 |
return svn_error_createf(SVN_ERR_TEST_FAILED, NULL, \
|
|
|
f8836c5 |
"Strings not equal\n Expected: '%s'\n Found: '%s'" \
|
|
|
f8836c5 |
"\n at %s:%d", \
|
|
|
f8836c5 |
- tst_str2, tst_str1, __FILE__, __LINE__); \
|
|
|
f8836c5 |
+ tst_str2 ? tst_str2 : "(NULL)", tst_str1 ? tst_str1 : "(NULL)", __FILE__, __LINE__); \
|
|
|
f8836c5 |
} while(0)
|
|
|
f8836c5 |
|
|
|
f8836c5 |
/** Handy macro for testing integer equality.
|