diff options
author | Jose <jose@zeroc.com> | 2019-10-23 14:57:01 +0200 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2019-10-23 16:16:46 +0200 |
commit | 698051d27b1b2c1eee800fdcfe1bc73072ad5555 (patch) | |
tree | a80d5cf2ef5b1fca18445e109cfcbc2fb0935c19 /cpp | |
parent | Fixed ./allTests.py bug which would cause unecessary delay when using control... (diff) | |
download | ice-698051d27b1b2c1eee800fdcfe1bc73072ad5555.tar.bz2 ice-698051d27b1b2c1eee800fdcfe1bc73072ad5555.tar.xz ice-698051d27b1b2c1eee800fdcfe1bc73072ad5555.zip |
Fix for unused parameters in MATLAB generated code - Close #595
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/slice2matlab/Main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/slice2matlab/Main.cpp b/cpp/src/slice2matlab/Main.cpp index 353556bc814..d5db1c23fc9 100644 --- a/cpp/src/slice2matlab/Main.cpp +++ b/cpp/src/slice2matlab/Main.cpp @@ -1838,7 +1838,7 @@ CodeVisitor::visitClassDefStart(const ClassDefPtr& p) if(!convertMembers.empty()) { - out << nl << "function r = iceDelayPostUnmarshal(obj)"; + out << nl << "function r = iceDelayPostUnmarshal(~)"; out.inc(); out << nl << "r = true;"; out.dec(); @@ -2841,7 +2841,7 @@ CodeVisitor::visitExceptionStart(const ExceptionPtr& p) out.dec(); out << nl << "end"; - out << nl << "function id = ice_id(obj)"; + out << nl << "function id = ice_id(~)"; out.inc(); out << nl << "id = '" << scoped << "';"; out.dec(); |