diff --git a/cocos/2d/CCLabel.cpp b/cocos/2d/CCLabel.cpp index 8c7c8bbefd..3dc65012ac 100644 --- a/cocos/2d/CCLabel.cpp +++ b/cocos/2d/CCLabel.cpp @@ -926,7 +926,6 @@ void Label::onDraw(const kmMat4& transform, bool transformUpdated) _shaderProgram->use(); GL::blendFunc( _blendFunc.src, _blendFunc.dst ); - bool trans = false; if (_currentLabelType == LabelType::TTF) {