mirror of https://github.com/ecmwf/eccodes.git
Fix incorrect bitwise OR operator
This commit is contained in:
parent
ba4cb052da
commit
1684f93b3c
|
@ -40,11 +40,11 @@ int main(int argc,char* argv[])
|
||||||
/* To skip certain keys use the combination of these flags:
|
/* To skip certain keys use the combination of these flags:
|
||||||
|
|
||||||
unsigned long key_iterator_filter_flags=
|
unsigned long key_iterator_filter_flags=
|
||||||
CODES_KEYS_ITERATOR_SKIP_READ_ONLY ||
|
CODES_KEYS_ITERATOR_SKIP_READ_ONLY |
|
||||||
CODES_KEYS_ITERATOR_SKIP_COMPUTED ||
|
CODES_KEYS_ITERATOR_SKIP_COMPUTED |
|
||||||
CODES_KEYS_ITERATOR_SKIP_CODED ||
|
CODES_KEYS_ITERATOR_SKIP_CODED |
|
||||||
CODES_KEYS_ITERATOR_SKIP_EDITION_SPECIFIC ||
|
CODES_KEYS_ITERATOR_SKIP_EDITION_SPECIFIC |
|
||||||
CODES_KEYS_ITERATOR_SKIP_DUPLICATES ||
|
CODES_KEYS_ITERATOR_SKIP_DUPLICATES |
|
||||||
CODES_KEYS_ITERATOR_SKIP_FUNCTION; */
|
CODES_KEYS_ITERATOR_SKIP_FUNCTION; */
|
||||||
|
|
||||||
unsigned long key_iterator_filter_flags=CODES_KEYS_ITERATOR_ALL_KEYS;
|
unsigned long key_iterator_filter_flags=CODES_KEYS_ITERATOR_ALL_KEYS;
|
||||||
|
|
|
@ -33,9 +33,9 @@ static void usage(char* progname);
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
/* To skip read only and not coded keys
|
/* To skip read only and computed keys
|
||||||
unsigned long key_iterator_filter_flags=CODES_KEYS_ITERATOR_SKIP_READ_ONLY ||
|
unsigned long key_iterator_filter_flags=CODES_KEYS_ITERATOR_SKIP_READ_ONLY |
|
||||||
CODES_KEYS_ITERATOR_SKIP_COMPUTED;
|
CODES_KEYS_ITERATOR_SKIP_COMPUTED;
|
||||||
*/
|
*/
|
||||||
unsigned long key_iterator_filter_flags=CODES_KEYS_ITERATOR_ALL_KEYS;
|
unsigned long key_iterator_filter_flags=CODES_KEYS_ITERATOR_ALL_KEYS;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue