X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f X-Recipient: djgpp-workers AT delorie DOT com X-Authenticated: #27081556 X-Provags-ID: V01U2FsdGVkX195QFBGJBB5zF47u0qzqvxUosJkUbPtoznuJNQACo oCvtCI258HhKja Message-ID: <50BE474B.9000204@gmx.de> Date: Tue, 04 Dec 2012 19:56:11 +0100 From: Juan Manuel Guerrero User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121025 Thunderbird/16.0.2 MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com CC: Ozkan Sezer Subject: Re: src/debug/fsdb/fullscr.c r1.12 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Reply-To: djgpp-workers AT delorie DOT com Am 04.12.2012 18:45, schrieb Ozkan Sezer: > On 12/4/12, Ozkan Sezer wrote: >> Hi: >> >> As far as I can see unassemble_proper() sets its len param, however >> src/debug/fsdb/fullscr.c r1.12 comments out the call to avoid set-but- >> unused warnings but 'len' is used two lines below. So, unless I am >> missing something, the following is needed. >> > Slightly updated patch below. (BTW, the whole thing can actually use > some constification: things like char* str="string"; are everywhere..) > > You are right. I missed something when I tried to fix set-but-unused warnings. Your patch is OK. If you provide a patch with constantifications of strings I will commit it. At a first glance I found only one but I may have missed more. Regards, Juan M. Guerrero