Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
dorchard committed Sep 12, 2024
1 parent 55481c9 commit f49a12e
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/Language/Fortran/Analysis/DataFlow.hs
Original file line number Diff line number Diff line change
Expand Up @@ -425,10 +425,7 @@ genConstExpMap pf = ceMap
-- changes to support that
case Repr.runEvalFValuePure pvMap (Repr.evalExpr e) of
Left _err -> Nothing
Right (a, _msgs) ->
case e of
ExpValue _ _ (ValVariable{}) -> Just a
_ -> Just a
Right (a, _msgs) -> Just a

-- | Get constant-expression information and put it into the AST
-- analysis annotation. Must occur after analyseBBlocks.
Expand Down

0 comments on commit f49a12e

Please sign in to comment.