From 9f1b5237fe20e7874b380fbe8bdb217e380e8445 Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Fri, 16 May 2008 03:36:11 +0000 Subject: [PATCH] Ensure to return an error rather than continue This commit was SVN r18445. --- ompi/mca/btl/openib/btl_openib_component.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ompi/mca/btl/openib/btl_openib_component.c b/ompi/mca/btl/openib/btl_openib_component.c index b976297ae5..339e17b654 100644 --- a/ompi/mca/btl/openib/btl_openib_component.c +++ b/ompi/mca/btl/openib/btl_openib_component.c @@ -1586,6 +1586,7 @@ btl_openib_component_init(int *num_btl_modules, if (OMPI_SUCCESS != ret) { orte_show_help("help-mpi-btl-openib.txt", "error in hca init", true, orte_process_info.nodename); + return NULL; } free(dev_sorted);