* A simple debugging print function, similar to psu_dbg. Controlled by * the undocumented "debug" option. */
| 161 | * the undocumented "debug" option. |
| 162 | */ |
| 163 | static void |
| 164 | csv_dbg (xo_handle_t *xop UNUSED, csv_private_t *csv UNUSED, |
| 165 | const char *fmt, ...) |
| 166 | { |
| 167 | if (csv == NULL || !(csv->c_flags & CF_DEBUG)) |
| 168 | return; |
| 169 | |
| 170 | va_list vap; |
| 171 | |
| 172 | va_start(vap, fmt); |
| 173 | vfprintf(stderr, fmt, vap); |
| 174 | va_end(vap); |
| 175 | } |
| 176 | |
| 177 | /* |
| 178 | * Create the private data for this handle, initialize it, and record |
no outgoing calls
no test coverage detected