| 783 | // Do not include CPLDebugProgress. Only available in custom builds. |
| 784 | #else |
| 785 | void CPLDebugProgress(const char *pszCategory, |
| 786 | CPL_FORMAT_STRING(const char *pszFormat), ...) |
| 787 | |
| 788 | { |
| 789 | CPLErrorContext *psCtx = CPLGetErrorContext(); |
| 790 | if (psCtx == nullptr || IS_PREFEFINED_ERROR_CTX(psCtx)) |
| 791 | return; |
| 792 | |
| 793 | psCtx->bProgressMode = true; |
| 794 | |
| 795 | va_list args; |
| 796 | va_start(args, pszFormat); |
| 797 | CPLvDebug(pszCategory, pszFormat, args); |
| 798 | va_end(args); |
| 799 | |
| 800 | psCtx->bProgressMode = false; |
| 801 | } |
| 802 | #endif // !WITHOUT_CPLDEBUG |
| 803 | |
| 804 | /********************************************************************** |
no test coverage detected