Remove the unused level parameter to welsStderrLevelTrace

This commit is contained in:
Martin Storsjö 2014-06-10 12:07:35 +03:00
parent cfc9367610
commit 5e22d5366e
2 changed files with 3 additions and 3 deletions

View File

@ -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;
}

View File

@ -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;
}