Subject: bug#18172: Ъompiler warning libltdl/ltdl.c:818 LT__UNUSED

From: "Gary V. Vaughan" <[email-masked]>
Date: Thu, 4 Dec 2014 17:24:02 +0000

On Aug 2, 2014, at 10:33 AM, Дилян Палаузов <[email-masked]> wrote:
> Hello,

Hi,

> please update libltdl/ltdl.c as follows, so that gcc 4.9.1 and 4.8.3 do not emit warnings:
> 
>  CC       libltdlc_la-ltdl.lo
> ltdl.c: In function ‘load_deplibs’:
> ltdl.c:818:53: warning: unused parameter ‘deplibs’ [-Wunused-parameter]
> load_deplibs (lt_dlhandle handle, char * LT__UNUSED deplibs)
>                                                     ^
> Със здраве
>  Дилян

Rather than patch in just the one place, I moved all instances of LT__UNUSED
to follow the unused parameter to prevent other similar warnings.

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)