fixed clang static analyzer issues.  - removed dead code from drawRect:  - fixed leak in attributedStringRef
fixed clang static analyzer issues.
 - removed dead code from drawRect:
 - fixed leak in attributedStringRef

programming086/iOS8-Sampler,yangaqi/iOS8-Sampler,fighterLS/iOS8-Sampler,owenwuef/iOS8-Sampler,shu223/iOS8-Sampler,piglikeYoung/iOS8-Sampler,roy0914/iOS8-Sampler,oatzht/iOS8-Sampler,pflnh/iOS8-Sampler