Prune excessive logging

This commit is contained in:
ehouse 2006-09-17 04:45:19 +00:00
parent 6cf4d50ee4
commit 4bdef12c3e
2 changed files with 0 additions and 9 deletions

View file

@ -61,7 +61,6 @@ void
stack_setBitsPerTile( StackCtxt* stack, XP_U16 bitsPerTile ) stack_setBitsPerTile( StackCtxt* stack, XP_U16 bitsPerTile )
{ {
XP_ASSERT( !!stack ); XP_ASSERT( !!stack );
XP_LOGF( "%s(%d)", __FUNCTION__, bitsPerTile );
stack->bitsPerTile = bitsPerTile; stack->bitsPerTile = bitsPerTile;
} }

View file

@ -237,13 +237,11 @@ palm_dictionary_make( MPFORMAL PalmAppGlobals* globals,
record = DmQueryRecord( dbRef, index record = DmQueryRecord( dbRef, index
+ headerRecP->firstEdgeRecNum ); + headerRecP->firstEdgeRecNum );
size = MemHandleSize( record ); size = MemHandleSize( record );
XP_LOGF( "size=%d", size );
err = DmWrite( dawgBase, offset, err = DmWrite( dawgBase, offset,
MemHandleLock( record ), size ); MemHandleLock( record ), size );
XP_ASSERT( err == errNone ); XP_ASSERT( err == errNone );
MemHandleUnlock( record ); MemHandleUnlock( record );
offset += size; offset += size;
XP_LOGF( "offset now = %ld", offset );
#ifdef DEBUG #ifdef DEBUG
#ifdef NODE_CAN_4 #ifdef NODE_CAN_4
ctxt->super.numEdges += size / nodeSize; ctxt->super.numEdges += size / nodeSize;
@ -329,7 +327,6 @@ countSpecials( FaceType* ptr, UInt16 nChars )
++result; ++result;
} }
} }
XP_LOGF( "countSpecials=>%d", result );
return result; return result;
} /* countSpecials */ } /* countSpecials */
@ -345,8 +342,6 @@ setupSpecials( MPFORMAL PalmDictionaryCtxt* ctxt,
XP_UCHAR** chars; XP_UCHAR** chars;
SpecialBitmaps* bitmaps; SpecialBitmaps* bitmaps;
XP_LOGF( "setupSpecials" );
base = (char*)specialStart; base = (char*)specialStart;
chars = XP_MALLOC( mpool, nSpecials * sizeof(*chars) ); chars = XP_MALLOC( mpool, nSpecials * sizeof(*chars) );
bitmaps = XP_MALLOC( mpool, nSpecials * sizeof(*bitmaps) ); bitmaps = XP_MALLOC( mpool, nSpecials * sizeof(*bitmaps) );
@ -360,12 +355,10 @@ setupSpecials( MPFORMAL PalmDictionaryCtxt* ctxt,
/* This may not work! Get rid of NTOHS???? */ /* This may not work! Get rid of NTOHS???? */
hasLarge = READ_UNALIGNED16( &specialStart->hasLarge ); hasLarge = READ_UNALIGNED16( &specialStart->hasLarge );
XP_LOGF( "hasLarge: %d", hasLarge );
if ( hasLarge ) { if ( hasLarge ) {
bitmaps[i].largeBM = base + hasLarge; bitmaps[i].largeBM = base + hasLarge;
} }
hasSmall = READ_UNALIGNED16( &specialStart->hasSmall ); hasSmall = READ_UNALIGNED16( &specialStart->hasSmall );
XP_LOGF( "hasSmall: %d", hasSmall );
if ( hasSmall ) { if ( hasSmall ) {
bitmaps[i].smallBM = base + hasSmall; bitmaps[i].smallBM = base + hasSmall;
} }
@ -374,7 +367,6 @@ setupSpecials( MPFORMAL PalmDictionaryCtxt* ctxt,
ctxt->super.bitmaps = bitmaps; ctxt->super.bitmaps = bitmaps;
ctxt->super.chars = chars; ctxt->super.chars = chars;
XP_LOGF( "setupSpecials done" );
} /* setupSpecials */ } /* setupSpecials */
static void static void