Exclude unused functions from WASM build
Fix “unused function” warnings. Change-Id: I1d8d1de3c181385769bffc094d6c9e3319e1dc98 Reviewed-by: Lorn Potter <lorn.potter@gmail.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
9f3962443f
commit
fa11071abf
@ -177,6 +177,7 @@ static bool debuggerPresent()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if !defined(Q_OS_WASM)
|
||||||
static bool hasSystemCrashReporter()
|
static bool hasSystemCrashReporter()
|
||||||
{
|
{
|
||||||
#if defined(Q_OS_MACOS)
|
#if defined(Q_OS_MACOS)
|
||||||
@ -243,6 +244,7 @@ static void stackTrace()
|
|||||||
fprintf(stderr, "=== End of stack trace ===\n");
|
fprintf(stderr, "=== End of stack trace ===\n");
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
#endif // !Q_OS_WASM
|
||||||
|
|
||||||
static bool installCoverageTool(const char * appname, const char * testname)
|
static bool installCoverageTool(const char * appname, const char * testname)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user