aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/tcp_graph.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-02-07 12:52:08 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-02-07 12:52:08 +0000
commitad5e6ad06b61bc983aa6b8f6efa6dad92c871d95 (patch)
tree1438d7d2cdf339767a7f8701b8523e1593847ce1 /gtk/tcp_graph.c
parentc6af1bfdd469de2226235ce79eccd994a4625368 (diff)
downloadwireshark-ad5e6ad06b61bc983aa6b8f6efa6dad92c871d95.tar.gz
wireshark-ad5e6ad06b61bc983aa6b8f6efa6dad92c871d95.tar.bz2
wireshark-ad5e6ad06b61bc983aa6b8f6efa6dad92c871d95.zip
Removed some more "statement not reached" warnings.
svn path=/trunk/; revision=24283
Diffstat (limited to 'gtk/tcp_graph.c')
-rw-r--r--gtk/tcp_graph.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c
index b423671aa4..4dca66611b 100644
--- a/gtk/tcp_graph.c
+++ b/gtk/tcp_graph.c
@@ -2561,7 +2561,6 @@ static int get_label_dim (struct axis *axis, int dir, double label)
default:
puts ("initialize axis: an axis must be either horizontal or vertical");
return -1;
- break;
}
return dim;
}
@@ -2571,13 +2570,10 @@ static double axis_zoom_get (struct axis *axis, int dir)
switch (dir) {
case AXIS_HORIZONTAL:
return axis->g->zoom.x;
- break;
case AXIS_VERTICAL:
return axis->g->zoom.y;
- break;
default:
return -1;
- break;
}
}