Remove the unused level parameter to welsStderrLevelTrace
This commit is contained in:
parent
cfc9367610
commit
5e22d5366e
@ -37,13 +37,13 @@
|
||||
|
||||
|
||||
// Internal details.
|
||||
int32_t welsStderrLevelTrace (int32_t level, const char* format, va_list ap);
|
||||
int32_t welsStderrLevelTrace (const char* format, va_list ap);
|
||||
|
||||
template<int level> int32_t welsStderrTrace (
|
||||
const char* format, ...) {
|
||||
va_list ap;
|
||||
va_start (ap, format);
|
||||
welsStderrLevelTrace (level, format, ap);
|
||||
welsStderrLevelTrace (format, ap);
|
||||
va_end (ap);
|
||||
return 0;
|
||||
}
|
||||
|
@ -35,7 +35,7 @@
|
||||
#include <stdio.h>
|
||||
#include "typedefs.h"
|
||||
|
||||
int32_t welsStderrLevelTrace (int32_t level, const char* format, va_list ap) {
|
||||
int32_t welsStderrLevelTrace (const char* format, va_list ap) {
|
||||
vfprintf (stderr, format, ap);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user