From 1c4fb1097d64c3f9667ce5e6584c99858873e6f4 Mon Sep 17 00:00:00 2001 From: kevin Date: Sun, 26 Jan 2014 17:08:46 -0800 Subject: [PATCH] cmFile.c : Fixed code formatting problem in cmFileByteCount(). --- cmFile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmFile.c b/cmFile.c index 387d0d7..f292e5b 100644 --- a/cmFile.c +++ b/cmFile.c @@ -227,7 +227,8 @@ cmFileRC_t cmFileByteCountFn( const cmChar_t* fn, cmRpt_t* rpt, unsigned* file { assert( fileByteCntPtr != NULL ); cmFileRC_t rc; - cmFileH_t h = cmFileNullHandle; + cmFileH_t h = cmFileNullHandle; + if((rc = cmFileOpen(&h,fn,kReadFileFl,rpt)) != kOkFileRC ) return rc;