diff options
author | tlatorre <tlatorre@uchicago.edu> | 2019-03-04 14:41:16 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2019-03-04 14:41:16 -0600 |
commit | 2ba0b90669feb760ff8cd89d72ed34a44293b886 (patch) | |
tree | 749d3cf6085524dcbb8f7c6b11aa2f787e51634e /src | |
parent | a3cd5870c7e88dacbca671909af798d6dbb692fe (diff) | |
download | sddm-2ba0b90669feb760ff8cd89d72ed34a44293b886.tar.gz sddm-2ba0b90669feb760ff8cd89d72ed34a44293b886.tar.bz2 sddm-2ba0b90669feb760ff8cd89d72ed34a44293b886.zip |
skip logical record if there is no EV bank
In the processed zdab files (the SNOCR_* files), the first logical record just
has a run header bank and no EV bank.
Diffstat (limited to 'src')
-rw-r--r-- | src/fit.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6135,8 +6135,8 @@ int main(int argc, char **argv) skip_mc: if (bmast.links[KMAST_EV-1] == 0) { - fprintf(stderr, "EV link is zero!\n"); - goto err; + /* First logical record in SNOCR files doesn't have an EV bank. */ + continue; } rv = zebra_get_bank(f,&b,bmast.links[KMAST_EV-1]); |