Opened 5 years ago

#125 new enhancement

Warning for uninitialised fields

Reported by: Thierry Delisle Owned by:
Priority: minor Component: cfa-cc
Version: 1.0 Keywords:
Cc:

Description

Given the following code, it would be nice to have a warning that field a will be uninitialised.

struct Test {
        int a;
        int b;
};

void ?{}(Test & this) {
        this.b = 0;
}

Change History (0)

Note: See TracTickets for help on using tickets.