--- Clp/src/ClpParameters.hpp +++ Clp/src/ClpParameters.hpp @@ -81,7 +81,7 @@ template inline void ClpDisjointCopyN( const T * array, const int size, T * newArray) { - memcpy(reinterpret_cast (newArray), array, size * sizeof(T)); + if (size != 0) memcpy(reinterpret_cast (newArray), array, size * sizeof(T)); } /// And set template inline void r> cgit logo index : lo/core
LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
or
AgeCommit message (Expand)Author
2015-08-11slideshow: stop (mis)-using VERBOSENorbert Thiebaud