mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Merge pull request #7210 from mshabunin:fix-warnings
This commit is contained in:
@@ -1126,7 +1126,7 @@ CV_EXPORTS InstrNode* getTrace();
|
||||
CV_EXPORTS void resetTrace();
|
||||
CV_EXPORTS void setFlags(int modeFlags);
|
||||
CV_EXPORTS int getFlags();
|
||||
};
|
||||
}
|
||||
|
||||
} //namespace cv
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@ using namespace ::testing;
|
||||
using std::tr1::tuple;
|
||||
using std::tr1::get;
|
||||
|
||||
namespace {
|
||||
|
||||
struct OpenCLState
|
||||
{
|
||||
@@ -64,5 +63,3 @@ OCL_PERF_TEST_P(UMatTest, CustomPtr, Combine(Values(sz1080p, sz2160p), Bool(), :
|
||||
|
||||
SANITY_CHECK_NOTHING();
|
||||
}
|
||||
|
||||
} // namespace cvtest
|
||||
|
||||
@@ -56,7 +56,7 @@ static void cvTsSimpleSeqShiftAndCopy( CvTsSimpleSeq* seq, int from_idx, int to_
|
||||
(seq->count - from_idx)*elem_size );
|
||||
}
|
||||
seq->count += to_idx - from_idx;
|
||||
if( elem && to_idx > from_idx )
|
||||
if( elem )
|
||||
memcpy( seq->array + from_idx*elem_size, elem, (to_idx - from_idx)*elem_size );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user