Fix Coverity CID 762007: Logically dead code.
svn path=/trunk/; revision=47067
This commit is contained in:
parent
110509a77f
commit
231bd8ab50
|
@ -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;
|
return -1;
|
||||||
|
|
||||||
found:
|
found:
|
||||||
|
|
Loading…
Reference in New Issue