summaryrefslogtreecommitdiff
path: root/ndb/src/ndbapi/Ndberror.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/src/ndbapi/Ndberror.cpp')
-rw-r--r--ndb/src/ndbapi/Ndberror.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/ndb/src/ndbapi/Ndberror.cpp b/ndb/src/ndbapi/Ndberror.cpp
index ee668605f0d..f4fdbf31c4a 100644
--- a/ndb/src/ndbapi/Ndberror.cpp
+++ b/ndb/src/ndbapi/Ndberror.cpp
@@ -460,6 +460,7 @@ int Nb = sizeof(StatusClassificationMapping)/sizeof(ErrorStatusClassification);
* Complete all fields of an NdbError given the error code
* and details
*/
+#if 0
static
void
set(NdbError & error, int code, const char * details, ...){
@@ -470,6 +471,7 @@ set(NdbError & error, int code, const char * details, ...){
vsnprintf(error.details, sizeof(error.details), details, ap);
va_end(ap);
}
+#endif
static
void