Dscanner: intentionally unused variable

visitor visitor at gmail.com
Sun Jan 7 17:02:02 UTC 2018


On Sunday, 7 January 2018 at 16:29:42 UTC, visitor wrote:
> On Sunday, 7 January 2018 at 16:14:11 UTC, Jacob Carlborg wrote:
>> On 2018-01-07 01:18, Ivan Trombley wrote:
>
>>> Is there a way tell dscanner that a variable is intentionally 
>>> unused?
>>
>> I don't know about D-Scanner but I know that other similar 
>> tools allow you to prefix the name of a variable with an 
>> underscore to indicate that the variable is intentionally 
>> unused.
>
> It seems a simple underscore "_" as a variable name tells 
> Dscanner exactly that.

Any number of underscores but underscores only apparently.


More information about the Digitalmars-d mailing list