diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2017-02-14 07:42:28 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2017-02-14 07:42:28 +0000 |
commit | 294026b41d91f8e1073504a3f507747d7a21a202 (patch) | |
tree | 8c8c06809c07d633a89f8c6d2a6ed7e613e56b45 | |
parent | 3a07948c167c06171bd2d9c58163c4d489a76906 (diff) | |
download | swig-294026b41d91f8e1073504a3f507747d7a21a202.tar.gz |
Remove unnecessary code
-rw-r--r-- | Source/Modules/matlab.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Modules/matlab.cxx b/Source/Modules/matlab.cxx index 6dadd5023..7354500b3 100644 --- a/Source/Modules/matlab.cxx +++ b/Source/Modules/matlab.cxx @@ -616,10 +616,10 @@ int MATLAB::top(Node *n) { Delete(f_begin); Delete(f_constants); Delete(f_gateway); - if (pkg_name) Delete(pkg_name); - if (pkg_name_fullpath) Delete(pkg_name_fullpath); - if (op_prefix) Delete(op_prefix); - if (mex_name) Delete(mex_name); + Delete(pkg_name); + Delete(pkg_name_fullpath); + Delete(op_prefix); + Delete(mex_name); return SWIG_OK; } |