1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

macro for static analysis tools

This commit is contained in:
Alexander Alekhin
2017-05-18 15:00:17 +03:00
committed by Maksim Shabunin
parent 0bc30d382d
commit c5e9d1adae
3 changed files with 31 additions and 6 deletions
+6 -6
View File
@@ -463,7 +463,7 @@ thresh_16s( const Mat& _src, Mat& _dst, short thresh, short maxval, int type )
}
break;
default:
return CV_Error( CV_StsBadArg, "" );
CV_Error( CV_StsBadArg, "" ); return;
}
}
else
@@ -517,7 +517,7 @@ thresh_16s( const Mat& _src, Mat& _dst, short thresh, short maxval, int type )
}
break;
default:
return CV_Error( CV_StsBadArg, "" );
CV_Error( CV_StsBadArg, "" ); return;
}
}
}
@@ -698,7 +698,7 @@ thresh_32f( const Mat& _src, Mat& _dst, float thresh, float maxval, int type )
}
break;
default:
return CV_Error( CV_StsBadArg, "" );
CV_Error( CV_StsBadArg, "" ); return;
}
}
else
@@ -752,7 +752,7 @@ thresh_32f( const Mat& _src, Mat& _dst, float thresh, float maxval, int type )
}
break;
default:
return CV_Error( CV_StsBadArg, "" );
CV_Error( CV_StsBadArg, "" ); return;
}
}
}
@@ -893,7 +893,7 @@ thresh_64f(const Mat& _src, Mat& _dst, double thresh, double maxval, int type)
}
break;
default:
return CV_Error(CV_StsBadArg, "");
CV_Error(CV_StsBadArg, ""); return;
}
}
else
@@ -952,7 +952,7 @@ thresh_64f(const Mat& _src, Mat& _dst, double thresh, double maxval, int type)
}
break;
default:
return CV_Error(CV_StsBadArg, "");
CV_Error(CV_StsBadArg, ""); return;
}
}
}