Skip to content

Commit

Permalink
fix uninitialized var
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jun 19, 2024
1 parent 2b05c45 commit f10c398
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/extbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
uses: actions/cache@v4
with:
path: ${GITHUB_WORKSPACE}/pio
key: ${{ runner.os }}-${{ env.ParallelIO_VERSION }}-parallelio2
key: ${{ runner.os }}-${{ env.ParallelIO_VERSION }}-pio
- name: Build ParallelIO
if: steps.cache-PARALLELIO.outputs.cache-hit != 'true'
uses: NCAR/ParallelIO/.github/actions/parallelio_cmake@9390e30e29d4ebbfbef0fc72162cacd9e8f25e4e
Expand Down
2 changes: 1 addition & 1 deletion src/shr_assert_mod.F90.in
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ subroutine shr_assert(var, msg, file, line)

character(len=:), allocatable :: full_msg

full_msg = 'ERROR'
if (.not. var) then
full_msg = 'ERROR'
if (present(file)) then
full_msg = full_msg // ' in ' // trim(file)
if (present(line)) then
Expand Down

0 comments on commit f10c398

Please sign in to comment.