Line |
Branch |
Exec |
Source |
1 |
|
|
#include <cassert> |
2 |
|
|
#include <cstdarg> |
3 |
|
|
|
4 |
|
|
#include "std-includes.h" |
5 |
|
|
#include "errors.h" |
6 |
|
|
#include "interface-shared.h" |
7 |
|
|
|
8 |
|
565 |
void error_impl(const char* error_id, const char* fmt_string, int whichpass, ...) { |
9 |
|
565 |
va_list args; va_start(args, whichpass); |
10 |
|
288 |
char error_buffer[1024]; |
11 |
2/2
✓ Branch 0 taken 277 times.
✓ Branch 1 taken 288 times.
|
565 |
vsnprintf(error_buffer, sizeof(error_buffer), fmt_string, args); |
12 |
|
|
|
13 |
1/2
✓ Branch 0 taken 565 times.
✗ Branch 1 not taken.
|
565 |
error_interface(error_id, whichpass, error_buffer); |
14 |
|
565 |
} |
15 |
|
|
|