Remove superfluous return.

pull/7738/head
Fabrice Weinberg 9 years ago
parent bc54600b6d
commit 923d562164

@ -141,7 +141,6 @@ function readAttribute ( parser, uniqueNames ) {
if ( !name ) return null; if ( !name ) return null;
if ( uniqueNames.has(name) ) { if ( uniqueNames.has(name) ) {
parser.error( 'Attributes need to be unique', start ); parser.error( 'Attributes need to be unique', start );
return null;
} }
uniqueNames.set(name, true); uniqueNames.set(name, true);

Loading…
Cancel
Save