From 50cce609050e1a40e1d6936e0a3f0614b4483eee Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Wed, 24 Feb 2016 09:51:16 -0500 Subject: Fixing whitespace lint errors. This CL enables several of the diabled whitelist/* lint checks. R=thestig@chromium.org, tsepez@chromium.org Review URL: https://codereview.chromium.org/1730553002 . --- core/src/fxcodec/codec/fx_codec_icc.cpp | 6 ++++-- core/src/fxcodec/codec/fx_codec_progress.cpp | 12 ++++++++---- 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'core/src/fxcodec/codec') diff --git a/core/src/fxcodec/codec/fx_codec_icc.cpp b/core/src/fxcodec/codec/fx_codec_icc.cpp index c2129eaef2..297f392a30 100644 --- a/core/src/fxcodec/codec/fx_codec_icc.cpp +++ b/core/src/fxcodec/codec/fx_codec_icc.cpp @@ -424,11 +424,13 @@ void* CCodec_IccModule::CreateProfile(ICodec_IccModule::IccParam* pIccParam, case IccCS_Gray: text.Format("%lf", pIccParam->Gamma); break; - default:; + default: + break; } MD5ComputeID(text.GetBuffer(0), text.GetLength(), ID); break; - default:; + default: + break; } key.AppendBlock(ID, 16); CFX_ByteString ProfileKey(key.GetBuffer(), key.GetSize()); diff --git a/core/src/fxcodec/codec/fx_codec_progress.cpp b/core/src/fxcodec/codec/fx_codec_progress.cpp index 1b46c4eb22..fbbfaaf0fa 100644 --- a/core/src/fxcodec/codec/fx_codec_progress.cpp +++ b/core/src/fxcodec/codec/fx_codec_progress.cpp @@ -1258,7 +1258,8 @@ FXCODEC_STATUS CCodec_ProgressiveDecoder::LoadImageInfo( case FXCODEC_STATUS_DECODE_READY: case FXCODEC_STATUS_DECODE_TOBECONTINUE: return FXCODEC_STATUS_ERROR; - default:; + default: + break; } if (pFile == NULL) { m_status = FXCODEC_STATUS_ERR_PARAMS; @@ -1821,7 +1822,8 @@ FXCODEC_STATUS CCodec_ProgressiveDecoder::GetFrames(int32_t& frames, return m_status = FXCODEC_STATUS_ERROR; } } break; - default:; + default: + break; } return FXCODEC_STATUS_ERROR; } @@ -2219,7 +2221,8 @@ FXCODEC_STATUS CCodec_ProgressiveDecoder::ContinueDecode(IFX_Pause* pPause) { case FXDIB_Argb: pFormatBitmap = pClipBitmap; break; - default:; + default: + break; } switch (m_pDeviceBitmap->GetFormat()) { case FXDIB_8bppRgb: @@ -2257,7 +2260,8 @@ FXCODEC_STATUS CCodec_ProgressiveDecoder::ContinueDecode(IFX_Pause* pPause) { } } } break; - default:; + default: + break; } if (pClipBitmap != pFormatBitmap) { delete pClipBitmap; -- cgit v1.2.3