Commit 29f10f0f authored by Olivier Bertrand's avatar Olivier Bertrand

- Working on eliminating valgrind warning/errors

 
modified:
  storage/connect/tabdos.cpp
  storage/connect/tabfix.cpp
  storage/connect/value.cpp
parent b98360a4
...@@ -1047,7 +1047,7 @@ bool DOSCOL::SetBuffer(PGLOBAL g, PVAL value, bool ok, bool check) ...@@ -1047,7 +1047,7 @@ bool DOSCOL::SetBuffer(PGLOBAL g, PVAL value, bool ok, bool check)
/***********************************************************************/ /***********************************************************************/
void DOSCOL::ReadColumn(PGLOBAL g) void DOSCOL::ReadColumn(PGLOBAL g)
{ {
char *p; char *p = NULL;
int i, rc; int i, rc;
int field; int field;
double dval; double dval;
......
...@@ -327,7 +327,7 @@ BINCOL::BINCOL(BINCOL *col1, PTDB tdbp) : DOSCOL(col1, tdbp) ...@@ -327,7 +327,7 @@ BINCOL::BINCOL(BINCOL *col1, PTDB tdbp) : DOSCOL(col1, tdbp)
/***********************************************************************/ /***********************************************************************/
void BINCOL::ReadColumn(PGLOBAL g) void BINCOL::ReadColumn(PGLOBAL g)
{ {
char *p; char *p = NULL;
int rc; int rc;
PTDBFIX tdbp = (PTDBFIX)To_Tdb; PTDBFIX tdbp = (PTDBFIX)To_Tdb;
......
...@@ -1034,7 +1034,6 @@ void TYPVAL<PSZ>::SetValue(char c) ...@@ -1034,7 +1034,6 @@ void TYPVAL<PSZ>::SetValue(char c)
void TYPVAL<PSZ>::SetBinValue(void *p) void TYPVAL<PSZ>::SetBinValue(void *p)
{ {
SetValue_char((char *)p, Len); SetValue_char((char *)p, Len);
Null = false;
} // end of SetBinValue } // end of SetBinValue
/***********************************************************************/ /***********************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment