You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
Fix warnings found in DEBUG combined build
Fixes: * Irrelevant where conditions * Irrelevant const * A potential infinite loop in treenode * Bad implicit case fallthroughs * Explicit markings for required case fallthroughs * Unused variables * Unused function Also disabled some warnings for now which we should fix later.
This commit is contained in:
@ -88,17 +88,6 @@ void initCompressedDBFileHeader(void* hdrBuf, int compressionType, int hdrSize)
|
||||
hdr->fHeader.fHeaderSize = hdrSize;
|
||||
}
|
||||
|
||||
void log(const string& s)
|
||||
{
|
||||
logging::MessageLog logger((logging::LoggingID()));
|
||||
logging::Message message;
|
||||
logging::Message::Args args;
|
||||
|
||||
args.add(s);
|
||||
message.format(args);
|
||||
logger.logErrorMessage(message);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user