Is this index selection useless? I'm reviewing some code and I came across this:

// Select the last parameter in the list
if (parametersListBox.SelectedIndex &gt; -1)
{
    parametersListBox.SetSelected(parametersListBox.SelectedIndex, true);
}


ParametersListBox being a C# ListBox. Despite the fact that the comment is wrong, does this actually do something or is this just useless code?
The check is needed, because SetSelected() would throw an ArgumentOutOfRangeException.  

See reference source: http://referencesource.microsoft.com/System.Windows.Forms/a.html#fcae9a622a947f54 or read the documentation where it clearly states   

Condition for ArgumentOutOfRangeException


  The specified index was outside the range of valid values.