Skip to content

Commit 6549c87

Browse files
author
Ralph Castain
committed
Silence the warnings
1 parent aa21013 commit 6549c87

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

ompi/mca/osc/pt2pt/osc_pt2pt.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -665,7 +665,6 @@ static inline void osc_pt2pt_copy_for_send (void *target, size_t target_len, con
665665
*/
666666
static inline void osc_pt2pt_gc_clean (ompi_osc_pt2pt_module_t *module)
667667
{
668-
ompi_request_t *request;
669668
opal_list_item_t *item;
670669

671670
OPAL_THREAD_LOCK(&module->gc_lock);

ompi/mca/osc/pt2pt/osc_pt2pt_data_move.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1698,7 +1698,7 @@ int ompi_osc_pt2pt_frag_start_receive (ompi_osc_pt2pt_module_t *module)
16981698
return OMPI_ERR_OUT_OF_RESOURCE;
16991699
}
17001700

1701-
for (int i = 0 ; i < module->recv_frag_count ; ++i) {
1701+
for (unsigned int i = 0 ; i < module->recv_frag_count ; ++i) {
17021702
OBJ_CONSTRUCT(module->recv_frags + i, ompi_osc_pt2pt_receive_t);
17031703
module->recv_frags[i].module = module;
17041704
module->recv_frags[i].buffer = malloc (mca_osc_pt2pt_component.buffer_size + sizeof (ompi_osc_pt2pt_frag_header_t));

ompi/mca/osc/pt2pt/osc_pt2pt_module.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ int ompi_osc_pt2pt_free(ompi_win_t *win)
9393
OBJ_DESTRUCT(&module->peer_lock);
9494

9595
if (NULL != module->recv_frags) {
96-
for (int i = 0 ; i < module->recv_frag_count ; ++i) {
96+
for (unsigned int i = 0 ; i < module->recv_frag_count ; ++i) {
9797
OBJ_DESTRUCT(module->recv_frags + i);
9898
}
9999

0 commit comments

Comments
 (0)