aboutsummaryrefslogtreecommitdiffstats
path: root/epan/ftypes/ftype-string.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2008-02-07 12:14:40 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2008-02-07 12:14:40 +0000
commitc6af1bfdd469de2226235ce79eccd994a4625368 (patch)
tree3e5881e4f97be97d6dd8a866d9297c9dc93091eb /epan/ftypes/ftype-string.c
parent542913de9d73b6fd6ac348d66c5ff9e7b6dec419 (diff)
Removed some "statement not reached" warnings.
svn path=/trunk/; revision=24282
Diffstat (limited to 'epan/ftypes/ftype-string.c')
-rw-r--r--epan/ftypes/ftype-string.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/epan/ftypes/ftype-string.c b/epan/ftypes/ftype-string.c
index e7fd24ad50..c355ce856d 100644
--- a/epan/ftypes/ftype-string.c
+++ b/epan/ftypes/ftype-string.c
@@ -177,11 +177,9 @@ val_from_unparsed(fvalue_t *fv, char *s, gboolean allow_partial_value _U_, LogFu
FVALUE_FREE(fv_bytes);
return TRUE;
}
- else {
- /* Just turn it into a string */
- return val_from_string(fv, s, logfunc);
- }
- g_assert_not_reached();
+
+ /* Just turn it into a string */
+ return val_from_string(fv, s, logfunc);
}
static guint