[Top][All Lists]

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

[gpsd-dev] [PATCH]: Silence warning without ntpshm

From: Matt
Subject: [gpsd-dev] [PATCH]: Silence warning without ntpshm
Date: Sun, 2 Nov 2014 10:44:02 +1100

Silences the following with ntpshm = False:

gcc -o gpsmon.o -c -D_GNU_SOURCE -Wmissing-prototypes -Wextra -Wall
-Wno-uninitialized -Wno-missing-field-initializers -Wcast-align
-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes
-Wpointer-arith -Wreturn-type -Wmissing-declarations -g -O0 gpsmon.c
gpsmon.c: In function 'gpsmon_hook':
gpsmon.c:657:24: warning: unused variable 'td' [-Wunused-variable]
     struct timedrift_t td;

Attachment: silence-warning-without-ntpshm.patch
Description: Binary data

reply via email to

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