Fixed a bunch of -Wzero-as-null-pointer-constant
- most fixed automatically by clang
- a few fixed manually by me (especially in macros)
Step 1. Fetch and check out the branch for this merge request
git fetch "https://gitlab.kitware.com/seanm/vtk.git" "Wzero-as-null-pointer-constant" git checkout -b "seanm/vtk-Wzero-as-null-pointer-constant" FETCH_HEAD
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git fetch origin git checkout "origin/master" git merge --no-ff "seanm/vtk-Wzero-as-null-pointer-constant"
Step 4. Push the result of the merge to GitLab
git push origin "master"
Note that pushing to GitLab requires write access to this repository.
Tip: You can also checkout merge requests locally by following these guidelines.
This will create a new commit in order to revert the existing changes.