| 41 | constexpr int CPL_PATH_BUF_COUNT = 10; |
| 42 | |
| 43 | static const char *CPLStaticBufferTooSmall(char *pszStaticResult) |
| 44 | { |
| 45 | CPLError(CE_Failure, CPLE_AppDefined, "Destination buffer too small"); |
| 46 | if (pszStaticResult == nullptr) |
| 47 | return ""; |
| 48 | strcpy(pszStaticResult, ""); |
| 49 | return pszStaticResult; |
| 50 | } |
| 51 | |
| 52 | /************************************************************************/ |
| 53 | /* CPLGetStaticResult() */ |
no test coverage detected