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 11/*
2- * Copyright (c) 2013-2017 Cisco Systems, Inc. All rights reserved
2+ * Copyright (c) 2013-2019 Cisco Systems, Inc. All rights reserved
33 * $COPYRIGHT$
44 *
55 * Additional copyrights may follow
2020#include "btl_usnic_util.h"
2121
2222
23+ // The following comment tells Coverity that this function does not return.
24+ // See https://scan.coverity.com/tune.
25+
26+ /* coverity[+kill] */
2327void opal_btl_usnic_exit (opal_btl_usnic_module_t * module )
2428{
2529 if (NULL == module ) {
@@ -61,7 +65,14 @@ void opal_btl_usnic_exit(opal_btl_usnic_module_t *module)
6165/*
6266 * Simple utility in a .c file, mainly so that inline functions in .h
6367 * 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.
6473 */
74+
75+ /* coverity[+kill] */
6576void opal_btl_usnic_util_abort (const char * msg , const char * file , int line )
6677{
6778 opal_show_help ("help-mpi-btl-usnic.txt" , "internal error after init" ,
You can’t perform that action at this time.
0 commit comments