File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright (c) 2013-2017 Cisco Systems, Inc. All rights reserved
2
+ * Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved
3
3
* $COPYRIGHT$
4
4
*
5
5
* Additional copyrights may follow
20
20
#include "btl_usnic_util.h"
21
21
22
22
23
+ // The following comment tells Coverity that this function does not return.
24
+ // See https://scan.coverity.com/tune.
25
+
26
+ /* coverity[+kill] */
23
27
void opal_btl_usnic_exit (opal_btl_usnic_module_t * module )
24
28
{
25
29
if (NULL == module ) {
@@ -61,7 +65,14 @@ void opal_btl_usnic_exit(opal_btl_usnic_module_t *module)
61
65
/*
62
66
* Simple utility in a .c file, mainly so that inline functions in .h
63
67
* files don't need to include the show_help header file.
68
+ *
69
+ * The following comment tells Coverity that this function does not
70
+ * return. See https://scan.coverity.com/tune. Technically, we
71
+ * shouldn't need this, because opal_btl_usnic_exit() has the same
72
+ * annotation, but let's just help Coverity out.
64
73
*/
74
+
75
+ /* coverity[+kill] */
65
76
void opal_btl_usnic_util_abort (const char * msg , const char * file , int line )
66
77
{
67
78
opal_show_help ("help-mpi-btl-usnic.txt" , "internal error after init" ,
You can’t perform that action at this time.
0 commit comments