function findVariablesInScope( scope ) {
		var hasBuiltin;
		var variable;
		var count;
		var ids;
		var i;
		var j;
		var l;

		for ( i = 0; i < scope.variables.length; i++ ) {
			variable = scope.variables[ i ];
			ids = variable.identifiers;
			hasBuiltin = opts.builtinGlobals && hasProp( variable, 'writeable' );
			if ( hasBuiltin ) {
				if ( contains( opts.globalsWhitelist, variable.name ) ) {
					hasBuiltin = false;
				}
			}
			l = ids.length;
			count = ( (hasBuiltin) ? 1 : 0 ) + l;
			if ( count >= 2 ) {
				ids.sort( ascending );
				for ( j = ( (hasBuiltin) ? 0 : 1 ); j < l; j++ ) {
					report( ids[j], variable.name+' is already defined' );
				}
			}
		}
	}
Finds variables in a given scope and flag redeclared ones.

@private
@param {Object} scope - eslint-scope scope object.