Skip to content

Commit

Permalink
Fixes #2373 - improved unused dummy macro
Browse files Browse the repository at this point in the history
  • Loading branch information
tclune committed Sep 24, 2023
1 parent 042c593 commit 1cad971
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Modified fpp macro `_UNUSED_DUMMY(x) to use ASSOCIATE instead of PRINT. With this change it can be used in PURE procedures.

### Fixed

### Removed
Expand Down
2 changes: 1 addition & 1 deletion include/unused_dummy.H
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
#ifdef _UNUSED_DUMMY
# undef _UNUSED_DUMMY
#endif
#define _UNUSED_DUMMY(x) if (.false.) print*,shape(x)
#define _UNUSED_DUMMY(x) associate (q____ => x); end associate

0 comments on commit 1cad971

Please sign in to comment.