From b0ed14eb0e591b4c76c60c8210fa70453a77b422 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Thu, 30 Jun 2011 17:49:23 -0400 Subject: Remove unused code. --- gpxlogger.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'gpxlogger.c') 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 -#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); -- cgit v1.2.1