We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 221241e commit 8aff060Copy full SHA for 8aff060
port/cpl_error.cpp
@@ -879,8 +879,8 @@ CPLErr CPL_STDCALL CPLGetLastErrorType()
879
* been cleared by CPLErrorReset(). The returned pointer is to an internal
880
* string that should not be altered or freed.
881
*
882
- * @return the last error message, or NULL if there is no posted error
883
- * message.
+ * @return the last error message, or an empty string ("") if there is no
+ * posted error message.
884
*/
885
886
const char *CPL_STDCALL CPLGetLastErrorMsg()
0 commit comments