mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Removed redundant class
This commit is contained in:
parent
a1e8d5d638
commit
8f6b98c762
@ -692,23 +692,7 @@ void LocalServer::applyCmdOptions(ContextMutablePtr context)
|
||||
#ifdef FUZZING_MODE
|
||||
#include <Functions/getFuzzerData.cpp>
|
||||
|
||||
class FuzzApp
|
||||
{
|
||||
DB::LocalServer app;
|
||||
|
||||
public:
|
||||
inline void init(int argc, char ** argv)
|
||||
{
|
||||
app.init(argc, argv);
|
||||
}
|
||||
|
||||
inline int run()
|
||||
{
|
||||
return app.run();
|
||||
}
|
||||
};
|
||||
|
||||
std::optional<FuzzApp> fuzz_app;
|
||||
std::optional<DB::LocalServer> fuzz_app;
|
||||
|
||||
extern "C" int LLVMFuzzerInitialize(int * pargc, char *** pargv)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user