This project is read-only.
1

Resolved

IDE: necessary casts marked as unnecessary

description

object a, b;
if ((bool)a)
    return (bool)b ? 0 : 1;
The first cast is suggested to be unnecessary while it isn't and following the suggestion results in a compile-time error.

comments

VSadov wrote Apr 12, 2014 at 1:11 AM

Fixed in changeset c8228844a9480008a0bd75b5b9d0578f7e36d053