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

GPE_SpecialMenu_Branch::save_branch_data is defined as returning bool, empty function #26

Closed
Heceldi opened this issue Apr 9, 2019 · 2 comments

Comments

@Heceldi
Copy link

Heceldi commented Apr 9, 2019

in paw_gui_stree.cpp

bool GPE_SpecialMenu_Branch::save_branch_data(std::ofstream * fileTarget, int nestedFoldersIn )
{

}

no return, or function

@Heceldi
Copy link
Author

Heceldi commented Apr 9, 2019

just found a second copy of this function...

bool GPE_SpecialMenu_Tree::save_branch_data(std::ofstream * fileTarget, int nestedFoldersIn )
{
if( fileTarget!=NULL && fileTarget->is_open() )
{
GPE_SpecialMenu_Branch * cBranch = NULL;
for( int i = 0; i < (int)subElements.size(); i++)
{
cBranch = subElements[i];
if( cBranch!=NULL )
{
cBranch->save_branch_data( fileTarget, 0 );
}
}
}
return false;
}

@nhurde
Copy link
Contributor

nhurde commented Apr 9, 2019

Corrected, will update soon.

@nhurde nhurde closed this as completed Apr 9, 2019
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