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