diff options
author | Lei Zhang <thestig@chromium.org> | 2015-11-04 18:04:03 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2015-11-04 18:04:03 -0800 |
commit | ff5adbc0dfa71270a9979f0c3e1d27923c16218a (patch) | |
tree | c68169974c3d747d30f925c1ace74d7bc9fb774c /fpdfsdk/src/formfiller | |
parent | 4544797e8998a31e7bc3f5439a5982f7f66dff26 (diff) | |
download | pdfium-ff5adbc0dfa71270a9979f0c3e1d27923c16218a.tar.xz |
Cleanup: Remove some NULL checks in fpdfsdk.
And simplify code.
R=ochang@chromium.org
Review URL: https://codereview.chromium.org/1411663013 .
Diffstat (limited to 'fpdfsdk/src/formfiller')
-rw-r--r-- | fpdfsdk/src/formfiller/FFL_IFormFiller.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/src/formfiller/FFL_IFormFiller.cpp b/fpdfsdk/src/formfiller/FFL_IFormFiller.cpp index 2126c2a903..92a44eb65e 100644 --- a/fpdfsdk/src/formfiller/FFL_IFormFiller.cpp +++ b/fpdfsdk/src/formfiller/FFL_IFormFiller.cpp @@ -565,7 +565,7 @@ CFFL_FormFiller* CFFL_IFormFiller::GetFormFiller(CPDFSDK_Annot* pAnnot, } void CFFL_IFormFiller::RemoveFormFiller(CPDFSDK_Annot* pAnnot) { - if (pAnnot != NULL) { + if (pAnnot) { UnRegisterFormFiller(pAnnot); } } |