mirror of https://gitee.com/bigwinds/arangodb
removed unused function
This commit is contained in:
parent
657ac8d50f
commit
5964ecb005
|
@ -64,8 +64,6 @@
|
||||||
#include <iosfwd>
|
#include <iosfwd>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|
||||||
static inline bool TRI_ShutdownLogging(bool) { return true; } // TODO(fc) remove
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief maximal number of log topics
|
/// @brief maximal number of log topics
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -39,6 +39,8 @@
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
using namespace arangodb;
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
/// @brief a global string containing the currently registered failure points
|
/// @brief a global string containing the currently registered failure points
|
||||||
/// the string is a comma-separated list of point names
|
/// the string is a comma-separated list of point names
|
||||||
|
@ -90,7 +92,7 @@ static char* MakeValue(char const* value) {
|
||||||
void TRI_SegfaultDebugging(char const* message) {
|
void TRI_SegfaultDebugging(char const* message) {
|
||||||
LOG(WARN) << "" << message << ": summon Baal!";
|
LOG(WARN) << "" << message << ": summon Baal!";
|
||||||
// make sure the latest log messages are flushed
|
// make sure the latest log messages are flushed
|
||||||
TRI_ShutdownLogging(true);
|
Logger::shutdown(true);
|
||||||
|
|
||||||
// and now crash
|
// and now crash
|
||||||
#ifndef __APPLE__
|
#ifndef __APPLE__
|
||||||
|
|
Loading…
Reference in New Issue