Skip to content

Fix CodeTable.c:1370 - #569

Open
manfredsc wants to merge 1 commit into
NOAA-EMC:developfrom
manfredsc:fix_codetable
Open

manfredsc wants to merge 1 commit into
NOAA-EMC:developfrom
manfredsc:fix_codetable

Conversation

@manfredsc

Copy link
Copy Markdown
Contributor

In CodeTable.c:1370 (code_table_4_3_location), the variable n is conditionally set and then used to calculate the return pointer. In most cases the variable n will not be initialized before use. Similar codes in other tables indicate that probably the variable np is meant instead. Change to use the variable np instead.

Closes #568

conditionally set and then used to calculate the return pointer.
In most cases the variable n will not be initialized before use.
Similar codes in other tables indicate that probably the variable np
is meant instead. Change to use the variable np instead.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistency in CodeTable.c

1 participant