1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-14 10:13:05 +02:00

Fix missing parameter in common/stack-trace test module.

This was passing since we don't test WITH_BACKTRACE in CI because it is used only for test builds.

Ideally we would test this but it doesn't seem worth the trouble at the moment.
This commit is contained in:
David Steele 2020-03-22 14:24:28 -04:00
parent 8c76ea2d93
commit c2df383aec

View File

@ -35,7 +35,7 @@ testRun(void)
// This will call the error routine since we passed a bogus exe // This will call the error routine since we passed a bogus exe
assert(stackTracePush("file1.c", "function1", logLevelDebug) == logLevelDebug); assert(stackTracePush("file1.c", "function1", logLevelDebug) == logLevelDebug);
stackTracePop("file1.c", "function1"); stackTracePop("file1.c", "function1", false);
backTraceState = NULL; backTraceState = NULL;
#endif #endif