- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I was wondering how easy it would be to have the compiler distinguish between
remark #7712: This variable has not been used. [BDEP]
and
remark #....: Thisdummy argumenthas not been used. [BDEP]
We have many "stub" routines which do nothing compared to the actual routines, so we get a lot of the #7712 messages, because of the unused dummy arguments,but it would be A Nice Thing if it were possible to supress these while retaining them for unused local variables which I could easily spot and then tidy up the code.
Just a thought.
Les
remark #7712: This variable has not been used. [BDEP]
and
remark #....: Thisdummy argumenthas not been used. [BDEP]
We have many "stub" routines which do nothing compared to the actual routines, so we get a lot of the #7712 messages, because of the unused dummy arguments,but it would be A Nice Thing if it were possible to supress these while retaining them for unused local variables which I could easily spot and then tidy up the code.
Just a thought.
Les
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have entered a feature request (DPD200149295) for this on your behalf.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - Steve Lionel (Intel)
I have entered a feature request (DPD200149295) for this on your behalf.
This would be really useful. I have resorted to adding lines like dummy = X in subroutines to eliminate the warnings.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page