diff options
author | Jörg Mayer <jmayer@loplof.de> | 2011-04-24 21:10:45 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2011-04-24 21:10:45 +0000 |
commit | 56e71b85f39dfbaba906658189c086fb6f4e7349 (patch) | |
tree | aa5c9b8bbb744bfd98a2b54982fba09276ba22b5 /epan/uat_load.l | |
parent | a39c3fab30321ab0cc888069cdb9aea70a45ebce (diff) | |
download | wireshark-56e71b85f39dfbaba906658189c086fb6f4e7349.tar.gz |
Fix CID 813: Code after ERROR is dead code (never reached)
svn path=/trunk/; revision=36840
Diffstat (limited to 'epan/uat_load.l')
-rw-r--r-- | epan/uat_load.l | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/epan/uat_load.l b/epan/uat_load.l index c07e493651..6d9a4a85e9 100644 --- a/epan/uat_load.l +++ b/epan/uat_load.l @@ -220,17 +220,14 @@ comment #[^\n]*\n <SEPARATOR>{newline} { linenum++; ERROR(("expecting field %s in previous line",uat->fields[colnum].name)); - BEGIN START_OF_LINE; } <SEPARATOR>. { ERROR(("unexpected char '%s' while looking for field %s",yytext,uat->fields[colnum].name)); - BEGIN ERRORED; } <END_OF_RECORD>{separator} { ERROR(("more fields than required")); - BEGIN ERRORED; } <END_OF_RECORD>{newline} { @@ -262,7 +259,6 @@ comment #[^\n]*\n <END_OF_RECORD>. { ERROR(("unexpected char while looking for end of line")); - BEGIN ERRORED; } <ERRORED>{newline} { linenum++; BEGIN START_OF_LINE; } |