summaryrefslogtreecommitdiff
path: root/ndb/src/ndbapi/NdbConnection.cpp
diff options
context:
space:
mode:
authorunknown <tomas@poseidon.ndb.mysql.com>2004-10-22 16:21:51 +0000
committerunknown <tomas@poseidon.ndb.mysql.com>2004-10-22 16:21:51 +0000
commit236e588a73589dea135568f00601586107286865 (patch)
tree8726e9ff88cce4368528297b233f4bd1748ceadb /ndb/src/ndbapi/NdbConnection.cpp
parentf74303af57130ef84cfb796de058db3e10a868e9 (diff)
downloadmariadb-git-236e588a73589dea135568f00601586107286865.tar.gz
removing compiler warnings
Diffstat (limited to 'ndb/src/ndbapi/NdbConnection.cpp')
-rw-r--r--ndb/src/ndbapi/NdbConnection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ndb/src/ndbapi/NdbConnection.cpp b/ndb/src/ndbapi/NdbConnection.cpp
index c142efb1596..1457792cf28 100644
--- a/ndb/src/ndbapi/NdbConnection.cpp
+++ b/ndb/src/ndbapi/NdbConnection.cpp
@@ -313,8 +313,8 @@ NdbConnection::execute(ExecType aTypeOfExec,
tPrepOp = tPrepOp->next();
}
// save rest of prepared ops if batch
- NdbOperation* tRestOp;
- NdbOperation* tLastOp;
+ NdbOperation* tRestOp= 0;
+ NdbOperation* tLastOp= 0;
if (tPrepOp != NULL) {
tRestOp = tPrepOp->next();
tPrepOp->next(NULL);