b76e4d08d6
The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/subversion#3d5f8d900a066a77c81766ea91fcb3fd49ed0d4e
15 lines
602 B
Diff
15 lines
602 B
Diff
|
|
Suppress gcc 10 warning.
|
|
|
|
--- subversion-1.14.0/subversion/tests/svn_test.h.testwarn
|
|
+++ subversion-1.14.0/subversion/tests/svn_test.h
|
|
@@ -128,7 +128,7 @@
|
|
return svn_error_createf(SVN_ERR_TEST_FAILED, NULL, \
|
|
"Strings not equal\n Expected: '%s'\n Found: '%s'" \
|
|
"\n at %s:%d", \
|
|
- tst_str2, tst_str1, __FILE__, __LINE__); \
|
|
+ tst_str2 ? tst_str2 : "(NULL)", tst_str1 ? tst_str1 : "(NULL)", __FILE__, __LINE__); \
|
|
} while(0)
|
|
|
|
/** Handy macro for testing integer equality.
|