From ebef000a277a3638ac38386732d000da408b95ce Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 19 Nov 2013 11:07:22 -0500 Subject: [PATCH] cmData.h/c: Commented out uncompilable bits. --- cmData.c | 6 +++++- cmData.h | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/cmData.c b/cmData.c index b1580f8..db0cdae 100644 --- a/cmData.c +++ b/cmData.c @@ -1009,6 +1009,7 @@ cmDtRC_t cmDataDoubleArray( const cmData_t* d, double** v ) return kOkDtRC; } +#ifdef NOT_DEF cmDtRC_t cmDataStrArray( const cmData_t* d, cmChar_t*** v ) { } @@ -1016,7 +1017,7 @@ cmDtRC_t cmDataStrArray( const cmData_t* d, cmChar_t*** v ) cmDtRC_t cmDataConstStrArray( const cmData_t* d, const cmChar_t*** v ) { } - +#endif @@ -1754,6 +1755,8 @@ cmData_t* cmDataRecdAllocIdA( cmData_t* parent, ... ) return p; } +#ifdef NOT_DEF + cmDtRC_t _cmDataRecdParseV(cmData_t* p, bool idFl, cmErr_t* err, unsigned errRC, va_list vl ) { bool contFl = true; @@ -2850,3 +2853,4 @@ void cmDataTest( cmCtx_t* ctx ) cmRptPrintf(&ctx->rpt,"Done!.\n"); } +#endif diff --git a/cmData.h b/cmData.h index e246944..0116183 100644 --- a/cmData.h +++ b/cmData.h @@ -127,7 +127,7 @@ extern "C" { unsigned flags; // struct cmData_str* parent; // this childs parent struct cmData_str* sibling; // this childs left sibling - unsigned cnt; // byte cnt for strings/blobs and ele count for arrays + unsigned cnt; // byte cnt for strings/blobs and ele count for arrays union { @@ -146,6 +146,7 @@ extern "C" { void* vp; + /* char* cp; unsigned char* ucp; short* sp; @@ -156,7 +157,7 @@ extern "C" { unsigned long* ulp; float* fp; double* dp; - + */ struct cmData_str* child; // first child (list,record,pair) } u;