1
1

* yeah, so it turns out that for an unsigned int, 0 - 1 doesn't equal -1.

Since there are no elements in the list, this function doesn't need to
  do anything anyway.  So just short circuit

This commit was SVN r3816.
Этот коммит содержится в:
Brian Barrett 2004-12-14 21:06:49 +00:00
родитель c551d387a1
Коммит f6b8ac67ee

Просмотреть файл

@ -544,6 +544,8 @@ mca_pcm_base_data_store_pids_uniqify(pid_t **pids, size_t *len)
{
size_t i, j;
if (0 == *len) return OMPI_SUCCESS;
qsort(*pids, *len, sizeof(pid_t), pids_cmp);
for (i = 0 ; i < *len - 1 ;) {