On Mon, 2 Apr 2012, ron minnich wrote:
I have a struct such as thisstruct a { int b; int c; int d;}; Then I have this declaration: struct a z { .b = 1, .c = 2, .d = 3 }; I'd like to remove the 'c' struct member in both the definition (which I think I know how to do) and the initialization. Is this possible? I don't seem to be getting it right.
What have you tried? Normally you don't put ... when referring to structure initializations. You just adjust the case of interest.
hykua _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
