Skip to content

Commit

Permalink
Issue #6 Refactored c99 for loop syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jaeandersson committed Jun 30, 2016
1 parent 9937157 commit b72af23
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Lib/matlab/matlabrun.swg
Expand Up @@ -375,7 +375,8 @@ SWIGRUNTIME void SWIG_Matlab_SetModule(swig_module_info *pointer) {
}
nfields = mxGetNumberOfFields(mem);
/* Check if same type table */
for (int ii=0; ii<nfields; ++ii){
int ii;
for (ii=0; ii<nfields; ++ii){
if(strcmp(mxGetFieldNameByNumber(mem, ii), fields[0]) == 0) {
mxDestroyArray(mem);
return;
Expand Down

0 comments on commit b72af23

Please sign in to comment.