ERRD_assert_msg @brief Generate an assertion failure with a message @param msg @param file @param lineno **/
| 74 | |
| 75 | **/ |
| 76 | void ERRD_assert_msg(const char* msg, const char* file, ULONG lineno) |
| 77 | { |
| 78 | |
| 79 | char buffer[MAXPATHLEN + 100]; |
| 80 | |
| 81 | fb_utils::snprintf(buffer, sizeof(buffer), |
| 82 | "Assertion failure: %s File: %s Line: %ld\n", //dev build |
| 83 | (msg ? msg : ""), (file ? file : ""), lineno); |
| 84 | ERRD_bugcheck(buffer); |
| 85 | } |
| 86 | #endif // DEV_BUILD |
| 87 | |
| 88 |
nothing calls this directly
no test coverage detected