diff options
author | Olivier Bertrand <bertrandop@gmail.com> | 2013-06-30 19:08:09 +0200 |
---|---|---|
committer | Olivier Bertrand <bertrandop@gmail.com> | 2013-06-30 19:08:09 +0200 |
commit | 29f10f0ff19f245a7e00e8ece8a477c1d8bf4a01 (patch) | |
tree | 16278de488e7eb03e872174365d977d569a2b0a5 | |
parent | b98360a42f2aec08fb7799c23a4b7c7566fb66ec (diff) | |
download | mariadb-git-29f10f0ff19f245a7e00e8ece8a477c1d8bf4a01.tar.gz |
- Working on eliminating valgrind warning/errors
modified:
storage/connect/tabdos.cpp
storage/connect/tabfix.cpp
storage/connect/value.cpp
-rw-r--r-- | storage/connect/tabdos.cpp | 2 | ||||
-rw-r--r-- | storage/connect/tabfix.cpp | 2 | ||||
-rw-r--r-- | storage/connect/value.cpp | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/storage/connect/tabdos.cpp b/storage/connect/tabdos.cpp index 288396276bc..b828c44d648 100644 --- a/storage/connect/tabdos.cpp +++ b/storage/connect/tabdos.cpp @@ -1047,7 +1047,7 @@ bool DOSCOL::SetBuffer(PGLOBAL g, PVAL value, bool ok, bool check) /***********************************************************************/ void DOSCOL::ReadColumn(PGLOBAL g) { - char *p; + char *p = NULL; int i, rc; int field; double dval; diff --git a/storage/connect/tabfix.cpp b/storage/connect/tabfix.cpp index 801de79aad9..4cad405452e 100644 --- a/storage/connect/tabfix.cpp +++ b/storage/connect/tabfix.cpp @@ -327,7 +327,7 @@ BINCOL::BINCOL(BINCOL *col1, PTDB tdbp) : DOSCOL(col1, tdbp) /***********************************************************************/ void BINCOL::ReadColumn(PGLOBAL g) { - char *p; + char *p = NULL; int rc; PTDBFIX tdbp = (PTDBFIX)To_Tdb; diff --git a/storage/connect/value.cpp b/storage/connect/value.cpp index 196724ea6c0..e75a6e41557 100644 --- a/storage/connect/value.cpp +++ b/storage/connect/value.cpp @@ -1034,7 +1034,6 @@ void TYPVAL<PSZ>::SetValue(char c) void TYPVAL<PSZ>::SetBinValue(void *p) { SetValue_char((char *)p, Len); - Null = false; } // end of SetBinValue /***********************************************************************/ |