diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-06-30 17:49:23 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-06-30 17:49:23 -0400 |
commit | b0ed14eb0e591b4c76c60c8210fa70453a77b422 (patch) | |
tree | 96899ad036a9ab78006bce91085d58e77036641c /gpxlogger.c | |
parent | 840c678fe5d805901a1d6b72dfffbbc14383d13f (diff) | |
download | gpsd-b0ed14eb0e591b4c76c60c8210fa70453a77b422.tar.gz |
Remove unused code.
Diffstat (limited to 'gpxlogger.c')
-rw-r--r-- | gpxlogger.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/gpxlogger.c b/gpxlogger.c index ce049316..ade36b80 100644 --- a/gpxlogger.c +++ b/gpxlogger.c @@ -195,8 +195,6 @@ static void quit_handler(int signum) #include <glib/gprintf.h> -#define EMIX(x, y) (((x) > (y)) ? (x) : (y)) - DBusConnection *connection; static char gpsd_devname[BUFSIZ]; @@ -205,7 +203,7 @@ static DBusHandlerResult handle_gps_fix(DBusMessage * message) { DBusError error; /* this packet format was designed before we split eph */ - double eph = EMIX(gpsdata.fix.epx, gpsdata.fix.epy); + double eph; dbus_error_init(&error); |