mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
imporve clang build
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug Maintainer mode makes all warnings errors. This patch fix warnings. Mostly about deprecated `register` keyword. Too much warnings came from Mroonga and I gave up on it.
This commit is contained in:
@@ -2279,7 +2279,7 @@ int ODBConn::GetCatInfo(CATPARM *cap)
|
||||
int i, irc;
|
||||
bool b;
|
||||
PCSZ fnc = "Unknown";
|
||||
UWORD n;
|
||||
UWORD n = 0;
|
||||
SWORD ncol, len, tp;
|
||||
SQLULEN crow = 0;
|
||||
PQRYRES qrp = cap->Qrp;
|
||||
|
Reference in New Issue
Block a user