diff options
| author | Alexander Valavanis <valavanisalex@gmail.com> | 2019-05-27 10:35:12 +0000 |
|---|---|---|
| committer | Alexander Valavanis <valavanisalex@gmail.com> | 2019-05-27 10:35:12 +0000 |
| commit | 05a6cdb8047e9ffedeb27ebc025ea7b700402e29 (patch) | |
| tree | c3ad8fe529e8b9f4bbe444fc9db6b032f6c2bd87 /src/object/sp-mask.cpp | |
| parent | Merge branch 'master' of gitlab.com:inkscape/inkscape (diff) | |
| download | inkscape-05a6cdb8047e9ffedeb27ebc025ea7b700402e29.tar.gz inkscape-05a6cdb8047e9ffedeb27ebc025ea7b700402e29.zip | |
Hackfest2019: Rm tautological tests
Diffstat (limited to 'src/object/sp-mask.cpp')
| -rw-r--r-- | src/object/sp-mask.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/object/sp-mask.cpp b/src/object/sp-mask.cpp index 7b6a49ed6..ca290e013 100644 --- a/src/object/sp-mask.cpp +++ b/src/object/sp-mask.cpp @@ -238,7 +238,6 @@ sp_mask_create (std::vector<Inkscape::XML::Node*> &reprs, SPDocument *document) } Inkscape::DrawingItem *SPMask::sp_mask_show(Inkscape::Drawing &drawing, unsigned int key) { - g_return_val_if_fail (this != nullptr, NULL); g_return_val_if_fail (SP_IS_MASK (this), NULL); Inkscape::DrawingGroup *ai = new Inkscape::DrawingGroup(drawing); @@ -264,7 +263,6 @@ Inkscape::DrawingItem *SPMask::sp_mask_show(Inkscape::Drawing &drawing, unsigned } void SPMask::sp_mask_hide(unsigned int key) { - g_return_if_fail (this != nullptr); g_return_if_fail (SP_IS_MASK (this)); for (auto& child: children) { |
