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

Result of StressDur macro isn't used #337

Open
aganm opened this issue Jan 1, 2022 · 0 comments
Open

Result of StressDur macro isn't used #337

aganm opened this issue Jan 1, 2022 · 0 comments

Comments

@aganm
Copy link

aganm commented Jan 1, 2022

On this line

int stressdur = StressDur(p,stress);

Uses this macro

#define StressDur(e,s) (s,((e->mDU + e->mUD)/2))

See the issue? The use of the macro only assigns stress to stressdur without doing anything with it. Is this intended? If so why not just assign stress to stressdur directly since the math of the macro is left unused.

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

No branches or pull requests

1 participant