Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Build warning in process_moc.cpp #42

Closed
@esabol

Description

@esabol

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);
      |              ^

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions