mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-22 17:50:47 +00:00
Fixed non-standard build
This commit is contained in:
parent
3f2d857cb1
commit
98c3ff92ae
@ -176,6 +176,7 @@ QueryProfilerBase<ProfilerImpl>::QueryProfilerBase(const Int32 thread_id, const
|
|||||||
throw;
|
throw;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
UNUSED(thread_id, clock_type, period, pause_signal);
|
||||||
throw Exception("QueryProfiler cannot work with stock libunwind", ErrorCodes::NOT_IMPLEMENTED);
|
throw Exception("QueryProfiler cannot work with stock libunwind", ErrorCodes::NOT_IMPLEMENTED);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
@ -142,4 +142,4 @@
|
|||||||
|
|
||||||
/// A macro for suppressing warnings about unused variables or function results.
|
/// A macro for suppressing warnings about unused variables or function results.
|
||||||
/// Useful for structured bindings which have no standard way to declare this.
|
/// Useful for structured bindings which have no standard way to declare this.
|
||||||
#define UNUSED(X) (void) (X)
|
#define UNUSED(...) (void)(__VA_ARGS__)
|
||||||
|
Loading…
Reference in New Issue
Block a user