Skip to content

Commit 50a0fc2

Browse files
authored
Merge pull request #12372 from jsquyres/pr/fix-uninitialized-shell-var
ompi_setup_prrte.m4: fix uninitialized shell variable
2 parents e66bb37 + 1ea4cb8 commit 50a0fc2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

config/ompi_setup_prrte.m4

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dnl Copyright (c) 2019-2020 Intel, Inc. All rights reserved.
1919
dnl Copyright (c) 2020-2022 Amazon.com, Inc. or its affiliates. All Rights reserved.
2020
dnl Copyright (c) 2021 Nanook Consulting. All rights reserved.
2121
dnl Copyright (c) 2021-2022 IBM Corporation. All rights reserved.
22-
dnl Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved.
22+
dnl Copyright (c) 2023-2024 Jeffrey M. Squyres. All rights reserved.
2323
dnl $COPYRIGHT$
2424
dnl
2525
dnl Additional copyrights may follow
@@ -238,6 +238,7 @@ AC_DEFUN([_OMPI_SETUP_PRRTE_INTERNAL], [
238238
AS_IF([test "$internal_prrte_happy" = "no" -a "$enable_internal_rte" != "no"],
239239
[AC_MSG_ERROR([PRRTE configuration failed. Cannot continue.])])
240240
241+
OMPI_HAVE_PRRTE_RST=0
241242
AS_IF([test "$internal_prrte_happy" = "yes"],
242243
[AC_MSG_CHECKING([for internal PRRTE RST files])
243244
AS_IF([test -n "$SPHINX_BUILD"],
@@ -310,6 +311,7 @@ AC_DEFUN([_OMPI_SETUP_PRRTE_EXTERNAL], [
310311
AS_IF([test -n "${prterun_path}"],
311312
[AC_DEFINE_UNQUOTED([OMPI_PRTERUN_PATH], ["${prterun_path}"], [Path to prterun])])
312313
314+
OMPI_HAVE_PRRTE_RST=0
313315
AS_IF([test "$setup_prrte_external_happy" = "yes"],
314316
[ # Determine if this external PRRTE has installed the RST
315317
# directories that we care about
@@ -327,7 +329,6 @@ AC_DEFUN([_OMPI_SETUP_PRRTE_EXTERNAL], [
327329
[ # This version of PRRTE doesn't have installed RST
328330
# files.
329331
AC_MSG_RESULT([not found])
330-
OMPI_HAVE_PRRTE_RST=0
331332
])
332333
])
333334
$1],

0 commit comments

Comments
 (0)