Commit b2db891c authored by Olivier Bertrand's avatar Olivier Bertrand

- Remove gcc warning (variable n is set and not used)

modified:
  storage/connect/odbconn.cpp
parent c144cf38
......@@ -2373,8 +2373,6 @@ int ODBConn::GetCatInfo(CATPARM *cap)
/***********************************************************************/
PQRYRES ODBConn::AllocateResult(PGLOBAL g)
{
//char *fmt, v;
int n;
bool uns;
PODBCCOL colp;
PCOLRES *pcrp, crp;
......@@ -2401,7 +2399,7 @@ PQRYRES ODBConn::AllocateResult(PGLOBAL g)
qrp->Nblin = 0;
qrp->Cursor = 0;
for (n = 1, colp = (PODBCCOL)m_Tdb->Columns; colp;
for (colp = (PODBCCOL)m_Tdb->Columns; colp;
colp = (PODBCCOL)colp->GetNext())
if (!colp->IsSpecial()) {
*pcrp = (PCOLRES)PlugSubAlloc(g, NULL, sizeof(COLRES));
......
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