Fix a "unused function" build warning
This commit is contained in:
parent
21667b258d
commit
29bb0afef2
@ -234,6 +234,7 @@ static void timer_counter_cb(uv_timer_t* handle) {
|
||||
++timer_counter;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
static void filter_vt(char* t, char with_nl_and_sp) {
|
||||
int wi = 0, len = strlen(t), csi = 0, osc = 0;
|
||||
for (int ri = 0; ri < len; ri++) {
|
||||
@ -263,6 +264,7 @@ static void filter_vt(char* t, char with_nl_and_sp) {
|
||||
}
|
||||
t[wi] = 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
TEST_IMPL(spawn_fails) {
|
||||
int r;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user