codebots-ltd / TBXML

Super-fast, lightweight, easy to use XML parser for the Mac & iOS
http://www.71squared.com
579 stars 194 forks source link

Using 'stringWithString:' with a literal is redundant #21

Open borut-t opened 11 years ago

borut-t commented 11 years ago

On line 360 I get the following compiler warning regarding NSString:

TBXML.m:360:25: Using 'stringWithString:' with a literal is redundant

Could you please fix this line from

value = [NSString stringWithString:@""];

to

value = @"";

Thanks!

MartinMReed commented 11 years ago

See pull request #9.