Skip to content

Commit

Permalink
[clang-tidy] Fix suggested by modernize-use-nullptr check
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Jul 28, 2021
1 parent 23f1aad commit 3a63fce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FWCore/PythonParameterSet/src/PyBind11ProcessDesc.cc
Expand Up @@ -36,7 +36,7 @@ PyBind11ProcessDesc::PyBind11ProcessDesc(std::string const& config, int argc, ch
v_argv.reserve(argc);
vp_argv.reserve(argc);
for (int i = 0; i < argc; i++) {
v_argv.emplace_back(Py_DecodeLocale(argv[i], NULL), &PyMem_RawFree);
v_argv.emplace_back(Py_DecodeLocale(argv[i], nullptr), &PyMem_RawFree);
vp_argv.emplace_back(v_argv.back().get());
}

Expand Down

0 comments on commit 3a63fce

Please sign in to comment.