diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-11-09 14:24:02 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-11-09 14:24:02 +0000 |
commit | 7d26a109cd7e5c0f30eea0450c28f1727764983d (patch) | |
tree | 75db0068752941c3e0058d28f93e81aaecabe7ef | |
parent | 50916b91744c1cdd1af2d70aae0b926f98c9e5ae (diff) |
Removed an unused assignment.
svn path=/trunk/; revision=30892
-rw-r--r-- | wiretap/catapult_dct2000.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wiretap/catapult_dct2000.c b/wiretap/catapult_dct2000.c index cb7fef5785..402e8c013f 100644 --- a/wiretap/catapult_dct2000.c +++ b/wiretap/catapult_dct2000.c @@ -848,7 +848,7 @@ static gboolean parse_line(gchar *linebuff, gint line_length, gchar *outhdr_name) { int n = 0; - int port_digits = 0; + int port_digits; char port_number_string[MAX_PORT_DIGITS+1]; int variant_digits = 0; int variant = 1; @@ -891,7 +891,6 @@ static gboolean parse_line(gchar *linebuff, gint line_length, /* Reset strings (that won't be set be comments) */ g_strlcpy(variant_name, "0", MAX_VARIANT_DIGITS); g_strlcpy(outhdr_name, "", MAX_OUTHDR_NAME); - port_digits = 1; g_strlcpy(port_number_string, "0", MAX_PORT_DIGITS); if (!(*is_comment)) { |