Skip to content

Commit 149dfb7

Browse files
committed
coverity 1472863: useless compare with 0 for unsigned
Signed-off-by: Aurelien Bouteiller <bouteill@icl.utk.edu>
1 parent 14bbcbe commit 149dfb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ompi/communicator/ft/comm_ft_reliable_bcast.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013-2020 The University of Tennessee and The University
2+
* Copyright (c) 2013-2021 The University of Tennessee and The University
33
* of Tennessee Research Foundation. All rights
44
* reserved.
55
*
@@ -197,7 +197,7 @@ static void ompi_comm_rbcast_bml_recv_cb(
197197
}
198198

199199
/* invoke the local registered callback for the type */
200-
assert( 0 <= msg->type && RBCAST_CB_TYPE_MAX >= msg->type );
200+
assert( RBCAST_CB_TYPE_MAX >= msg->type );
201201
if( NULL != ompi_comm_rbcast_cb[msg->type] ) {
202202
if( ompi_comm_rbcast_cb[msg->type](comm, msg) ) {
203203
/* forward the rbcast */

0 commit comments

Comments
 (0)