summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <cvicentiu@gmail.com>2023-01-19 06:52:54 +0200
committerVicențiu Ciorbaru <cvicentiu@gmail.com>2023-01-20 15:18:52 +0200
commit00150ff8d40fc046eef4a1a8bd6740024de9e7f4 (patch)
treeb3c5c8bad5b985a5143e6470cd5d35363e972c78
parent244bf37c733fe632d645eeab8859758b05b1dff6 (diff)
downloadmariadb-git-00150ff8d40fc046eef4a1a8bd6740024de9e7f4.tar.gz
Fix connect bson.cpp warning
The ptyp variable is unused.
-rw-r--r--storage/connect/bson.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/bson.cpp b/storage/connect/bson.cpp
index 208cd04cb3a..880b4a1ce23 100644
--- a/storage/connect/bson.cpp
+++ b/storage/connect/bson.cpp
@@ -84,7 +84,7 @@ BDOC::BDOC(PGLOBAL G) : BJSON(G, NULL)
PBVAL BDOC::ParseJson(PGLOBAL g, char* js, size_t lng)
{
size_t i;
- bool b = false, ptyp = (bool *)pty;
+ bool b = false;
PBVAL bvp = NULL;
s = js;