Skip to content

Build warning in process_moc.cpp #42

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

Closed
esabol opened this issue Aug 2, 2023 · 2 comments
Closed

Build warning in process_moc.cpp #42

esabol opened this issue Aug 2, 2023 · 2 comments

Comments

@esabol
Copy link
Contributor

esabol commented Aug 2, 2023

This build warning in process_moc.cpp should be easy to fix, I hope:

src/process_moc.cpp: In function ‘void create_moc_release_context(void*, Smoc*, pgs_error_handler)’:
src/process_moc.cpp:624:17: warning: declaration of ‘n’ shadows a previous local [-Wshadow=compatible-local]
  624 |    rnode_iter n(moc_data, m.layout[k + 1].level_end);
      |                 ^~~~~~~~
src/process_moc.cpp:580:14: note: shadowed declaration is here
  580 |   rnode_iter n(moc_data, m.layout[1].level_end);
      |              ^
dura0ok pushed a commit to dura0ok/pgsphere that referenced this issue Aug 4, 2023
vitcpp added a commit that referenced this issue Aug 5, 2023
@dura0ok
Copy link

dura0ok commented Aug 6, 2023

Can we closed it?

@esabol
Copy link
Contributor Author

esabol commented Aug 6, 2023

PR #47 has been merged, addressing this issue. Closing.

@esabol esabol closed this as completed Aug 6, 2023
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

2 participants