The source project of this merge request has been removed.
Remove debug compilation error
Convert std::min() function to .?.:. expression, because static const variable can't be a function argument. Remove unused declaration and convert some commented couts to MSG_VERBOSE and MSG_DEBUG