• Prunebutt@slrpnk.net
    link
    fedilink
    arrow-up
    9
    ·
    2 months ago

    It’s probably gonna be optimized out by the compiler. However, linters will mark it for you, since it suggests that you actually wanted to do something with that variable and forgot about it after declaration.

    … Or it can be removed to reduce visual noise once it’s not necessary anymore after refactoring.