Commit 718efc39 authored by tomas@mc05.(none)'s avatar tomas@mc05.(none)

make warning fixes for ndb

parent 62565bed
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
/* RCSID("$KTH: strlcat.c,v 1.1 2000/08/16 01:23:47 lha Exp $"); */ /* RCSID("$KTH: strlcat.c,v 1.1 2000/08/16 01:23:47 lha Exp $"); */
//#include <NdbString.h> /*#include <NdbString.h>*/
#ifndef HAVE_STRLCAT #ifndef HAVE_STRLCAT
size_t size_t
......
...@@ -646,7 +646,7 @@ versionCallback(int nodeId, int version, void * anyData, int errCode){ ...@@ -646,7 +646,7 @@ versionCallback(int nodeId, int version, void * anyData, int errCode){
} }
break; break;
case NDB_MGM_NODE_TYPE_UNKNOWN: case NDB_MGM_NODE_TYPE_UNKNOWN:
assert(0); abort();
}; };
} else { } else {
......
...@@ -140,8 +140,8 @@ NdbSchemaOp::createAttribute( const char* anAttrName, ...@@ -140,8 +140,8 @@ NdbSchemaOp::createAttribute( const char* anAttrName,
case String: case String:
col.setType(NdbDictionary::Column::Char); col.setType(NdbDictionary::Column::Char);
break; break;
default: case NoAttrTypeDef:
assert(0); abort();
} }
col.setLength(anArraySize); col.setLength(anArraySize);
col.setNullable(nullable); col.setNullable(nullable);
......
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