From: Sami Kerola Date: Tue, 16 Aug 2016 06:36:31 +0000 (+0100) Subject: warnings: remove dead code X-Git-Tag: v0.88~38^2^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d064188b679219f3dbe44878f4d6a1f04b1b552;p=thirdparty%2Fmtr.git warnings: remove dead code These functions are not used, remove them. --- diff --git a/gtk.c b/gtk.c index 32cabef..3e83d63 100644 --- a/gtk.c +++ b/gtk.c @@ -230,13 +230,6 @@ gint Host_activate(GtkWidget *entry, UNUSED gpointer data) } -GdkPixmap *gtk_load_pixmap(char **pixmap) -{ - return gdk_pixmap_colormap_create_from_xpm_d(NULL, - gdk_colormap_get_system(), - NULL, NULL, pixmap); -} - void Toolbar_fill(GtkWidget *Toolbar) { diff --git a/net.c b/net.c index c5968c1..53c3a94 100644 --- a/net.c +++ b/net.c @@ -1231,12 +1231,6 @@ int net_xmit(int at) } -int net_transit(int at) -{ - return host[at].transit; -} - - int net_up(int at) { return host[at].up; diff --git a/net.h b/net.h index de3555c..23183c1 100644 --- a/net.h +++ b/net.h @@ -65,7 +65,6 @@ int calc_deltatime (float WaitTime); int net_returned(int at); int net_xmit(int at); -int net_transit(int at); int net_up(int at);