[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Possile unneded code

From: Eric S. Raymond
Subject: Re: [gpsd-dev] Possile unneded code
Date: Fri, 15 Nov 2013 17:04:26 -0500
User-agent: Mutt/1.5.21 (2010-09-15)

Sanjeev Gupta <address@hidden>:
> While building:
> gcc -o driver_garmin.os -c -D_GNU_SOURCE -Wextra -Wall -Wno-uninitialized
> -Wno-missing-field-initializers -Wcast-align -Wmissing-declarations
> -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wreturn-type
> -pthread -Wmissing-prototypes -Wmissing-declarations -O2 -fPIC
> driver_garmin.c
> driver_garmin.c:736:13: warning: 'Build_Send_USB_Packet' defined but not
> used [-Wunused-function]
>  static void Build_Send_USB_Packet(struct gps_device_t *session,
>              ^
> This is on a Linux, so __linux__  should be defined.

Gary's code; I'll let him field this one.
                <a href="";>Eric S. Raymond</a>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]