xenserver/xenadmin — pull request #136 by GaborApatiNagy (2014-07-17 18:18:21+00:00)
Title: CA-140636: Creedence XenCenter threw an unexpected error (build 87029)

-According to the call stack this is the place where the exception can come from. Although I was not able to reproduce the exception, this fix solves a possible argument (index) out of range exception. With this check, point merging is not going to be done if it would be unnecessary anyway when there were an empty list to be merged (count==0).

Signed-off-by: Gabor Apati-Nagy