Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove redundant macro GrpMaxAge #395

Open
chaukap opened this issue Dec 2, 2019 · 0 comments
Open

Remove redundant macro GrpMaxAge #395

chaukap opened this issue Dec 2, 2019 · 0 comments

Comments

@chaukap
Copy link
Contributor

chaukap commented Dec 2, 2019

The declaration is in ST_defines.h:

#define GrpMaxAge(g)      (RGroup[g]->max_age)

And the macro is used in multiple places in the code. Since all it does is insert RGroup[g]->max_age it is a useless macro. We therefore need to find every use of GrpMaxAge(g) and replace is with RGroup[g]->max_age.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant