Commit 7521bcc3 authored by chacha21's avatar chacha21

comment unused function

On MacOS and iOS, the unused opencvBigToHost32 is a warning for buildbot
parent d3a15c62
...@@ -1102,6 +1102,7 @@ static const int opencvOne = 1; ...@@ -1102,6 +1102,7 @@ static const int opencvOne = 1;
# endif # endif
# endif # endif
/*
static inline uint32_t opencvBigToHost32(const uchar* p){ static inline uint32_t opencvBigToHost32(const uchar* p){
#if OPENCV_BYTEORDER==4321 #if OPENCV_BYTEORDER==4321
uint32_t x; uint32_t x;
...@@ -1127,6 +1128,7 @@ static inline uint32_t opencvBigToHost32(uint32_t x){ ...@@ -1127,6 +1128,7 @@ static inline uint32_t opencvBigToHost32(uint32_t x){
return opencvBigToHost32((uchar*)&x); return opencvBigToHost32((uchar*)&x);
#endif #endif
} }
*/
static inline uint32_t opencvLittleToHost32(const uchar* p){ static inline uint32_t opencvLittleToHost32(const uchar* p){
#if OPENCV_BYTEORDER==1234 #if OPENCV_BYTEORDER==1234
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment