File tree 1 file changed +0
-32
lines changed 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -1480,38 +1480,6 @@ static MPI_Aint translate_to_aint(attribute_key_value_t *val)
1480
1480
}
1481
1481
}
1482
1482
1483
-
1484
- /*
1485
- * Return a pointer to the value.
1486
- *
1487
- * This function does not fail -- it is only invoked in "safe"
1488
- * situations.
1489
- */
1490
- static void * get_pointer_to_val (attribute_key_value_t * val )
1491
- {
1492
- switch (val -> av_set_from ) {
1493
- case OMPI_ATTRIBUTE_C :
1494
- /* Case 3: wrote a C pointer, get pointer to C pointer */
1495
- return & val -> av_value .av_pointer ;
1496
-
1497
- case OMPI_ATTRIBUTE_INT :
1498
- /* Case 6: wrote an int, get pointer to int */
1499
- return & val -> av_value .av_int ;
1500
-
1501
- case OMPI_ATTRIBUTE_FINT :
1502
- /* Case 9: wrote a MPI_Fint, get pointer to Fint */
1503
- return & val -> av_value .av_fint ;
1504
-
1505
- case OMPI_ATTRIBUTE_AINT :
1506
- /* Case 12: wrote a MPI_Aint, get pointer to Aint*/
1507
- return & val -> av_value .av_aint ;
1508
-
1509
- default :
1510
- /* Should never reach here */
1511
- return NULL ;
1512
- }
1513
- }
1514
-
1515
1483
/*
1516
1484
* Comparator for qsort() to sort attributes in the order that they were set.
1517
1485
*/
You can’t perform that action at this time.
0 commit comments