Documentation

This commit is contained in:
Shahram Najm 2022-03-25 20:48:11 +00:00
parent e921375b5b
commit 132650a3bb
1 changed files with 5 additions and 1 deletions

View File

@ -849,8 +849,12 @@ void grib_skip_check(grib_runtime_options* options, grib_handle* h)
options->skip = 1;
while (v) {
if (!to_skip(h, v, &ret)) {
if (!strcmp(v->name, "count") && !v->next)
if (!strcmp(v->name, "count") && !v->next) {
/* We have count=XX and nothing after that so we can
* skip every other message after it
*/
options->skip_all = 1;
}
options->skip = 0;
break;
}