Fix Coverity CID 762007: Logically dead code.

svn path=/trunk/; revision=47067
This commit is contained in:
Chris Maynard 2013-01-14 16:06:20 +00:00
parent 110509a77f
commit 231bd8ab50
1 changed files with 1 additions and 7 deletions

View File

@ -148,13 +148,7 @@ static gint64 ascend_seek(wtap *wth, int *err, gchar **err_info)
}
}
if (byte != EOF) {
/* We didn't find the offset. Treat that as a "not an Ascend file"
indication. */
*err = 0;
} else {
*err = file_error(wth->fh, err_info);
}
*err = file_error(wth->fh, err_info);
return -1;
found: