clang-tidy: use nullptr

Found with modernize-use-nullptr

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2021-05-19 23:33:44 -07:00
committed by Luis Díaz Más
parent 8c61962a09
commit 2c57f214c5
48 changed files with 727 additions and 758 deletions
+1 -1
View File
@@ -330,7 +330,7 @@ namespace Exiv2 {
#ifdef EXV_HAVE_STRERROR_R
const size_t n = 1024;
#ifdef EXV_STRERROR_R_CHAR_P
char *buf = 0;
char* buf = nullptr;
char buf2[n];
std::memset(buf2, 0x0, n);
buf = strerror_r(error, buf2, n);