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