[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Possile unneded code
From: |
Gary E. Miller |
Subject: |
Re: [gpsd-dev] Possile unneded code |
Date: |
Fri, 15 Nov 2013 14:18:12 -0800 |
Yo Eric!
On Fri, 15 Nov 2013 17:04:26 -0500
"Eric S. Raymond" <address@hidden> wrote:
> 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.
Somebody obsoleted that a while back. Not sure how Garmin USB can work
wothout that. I guess I better find some of my USB Garmin to test.
RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
address@hidden Tel:+1(541)382-8588
signature.asc
Description: PGP signature