summaryrefslogtreecommitdiff
path: root/epan/ftypes/ftype-tvbuff.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/ftypes/ftype-tvbuff.c')
-rw-r--r--epan/ftypes/ftype-tvbuff.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/epan/ftypes/ftype-tvbuff.c b/epan/ftypes/ftype-tvbuff.c
index 5df4e59378..ff9f1d835f 100644
--- a/epan/ftypes/ftype-tvbuff.c
+++ b/epan/ftypes/ftype-tvbuff.c
@@ -120,11 +120,9 @@ val_from_unparsed(fvalue_t *fv, char *s, gboolean allow_partial_value _U_, LogFu
fv->value.tvb = new_tvb;
return TRUE;
}
- else {
- /* Treat it as a string. */
- return val_from_string(fv, s, logfunc);
- }
- g_assert_not_reached();
+
+ /* Treat it as a string. */
+ return val_from_string(fv, s, logfunc);
}
static int