[PATCH 3/3] Fix discards 'const' qualifier from pointer target type warnings

2013-02-08 Thread Tyler Hicks
The event_note_list pointer is reassigned and its members are also reassigned. It should not be declared with the const qualifier. The ptr variable, in unescape(), cannot be used to modify a string since it is initialized to the const char *buf input parameter. Rather than modifying buf, we can us

Re: [PATCH 3/3] Fix discards 'const' qualifier from pointer target type warnings

2013-02-09 Thread Steve Grubb
On Friday, February 08, 2013 07:12:35 PM Tyler Hicks wrote: > The event_note_list pointer is reassigned and its members are also > reassigned. It should not be declared with the const qualifier. > > The ptr variable, in unescape(), cannot be used to modify a string since > it is initialized to the