Re: [PATCH 1/3] for-each-ref: introduce %C(...) for color
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- May 25, 2013, 11:50 UTC
- Message-ID
- <CALkWK0=16dmz548TQoj5YKp0dai7p1dpYAdXiWnnpiQdzyYHQg@mail.gmail.com>
- In-Reply-To
- <CALWbr2yuEczF-G7uJ0r-teUJrZowrY8mYm+xwJmv4+CT6NgDPA@mail.gmail.com>
Antoine Pelisse wrote:
> Is it not possible for "color" to be used uninitialized here ?
My compiler didn't complain; what am I missing? Doesn't the declaration char color[COLOR_MAXLEN]; initialize an empty string? More importantly, aren't there numerous instances of this in the codebase?