Fix function not returning anything

MSVC 6 was printing a warning about this.
This commit is contained in:
Clownacy
2021-07-13 23:33:15 +01:00
parent 7bb96d8a3c
commit b65a117132
+2
View File
@@ -8811,6 +8811,8 @@ MA_API ma_result ma_log_postv(ma_log* pLog, ma_uint32 level, const char* pFormat
ma_free(pFormattedMessage, &pLog->allocationCallbacks);
return result;
} else {
return MA_OUT_OF_MEMORY;
}
} else {
return MA_INVALID_OPERATION;