diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2008-02-07 15:44:45 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2008-02-07 15:44:45 +0000 |
commit | 28ae535b009c9301e885a4e17bfa55861288f2f9 (patch) | |
tree | ffc752144b791b42bccb7d56a29504c9ebed0d65 /epan/ftypes | |
parent | 36431783b7bb21c867080639724d73c929b612ec (diff) |
Removed even more "statement not reached" warnings.
svn path=/trunk/; revision=24286
Diffstat (limited to 'epan/ftypes')
-rw-r--r-- | epan/ftypes/ftype-tvbuff.c | 8 |
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 |