remove unused macros
authorAdrian Stratulat <adrian.stratulat91@gmail.com>
Mon, 28 Apr 2014 19:40:11 +0000 (19:40 +0000)
committerAdrian Stratulat <adrian.stratulat91@gmail.com>
Mon, 28 Apr 2014 19:40:11 +0000 (19:40 +0000)
modules/core/include/opencv2/core/core_c.h

index a4ef4291f77db374c5399ecbc950b60755198c40..df25e73fbb87b5fd724704369d22ba3767f6ee64 100644 (file)
@@ -1764,16 +1764,10 @@ CVAPI(int) cvGuiBoxReport( int status, const char* func_name, const char* err_ms
 #define OPENCV_ERROR(status,func,context)                           \
 cvError((status),(func),(context),__FILE__,__LINE__)
 
-#define OPENCV_ERRCHK(func,context)                                 \
-{if (cvGetErrStatus() >= 0)                         \
-{OPENCV_ERROR(CV_StsBackTrace,(func),(context));}}
-
 #define OPENCV_ASSERT(expr,func,context)                            \
 {if (! (expr))                                      \
 {OPENCV_ERROR(CV_StsInternal,(func),(context));}}
 
-#define OPENCV_RSTERR() (cvSetErrStatus(CV_StsOk))
-
 #define OPENCV_CALL( Func )                                         \
 {                                                                   \
 Func;                                                           \
@@ -1800,10 +1794,6 @@ static char cvFuncName[] = Name
     __CV_EXIT__;                                                   \
 }
 
-/* Simplified form of CV_ERROR */
-#define CV_ERROR_FROM_CODE( code )   \
-    CV_ERROR( code, "" )
-
 /*
  CV_CHECK macro checks error status after CV (or IPL)
  function call. If error detected, control will be transferred to the exit