Menu

#15 Filetypes.cpp:363: infinite-recursion

v1.0_(example)
closed-invalid
nobody
None
5
2021-05-15
2021-05-15
dcb
No

Filetypes.cpp:363:1: warning: all paths through this function will call itself [-Winfinite-recursion]

Source code is

bool DataBase::IsValid()
{
if (IsFake)
return (FakeFiledata)IsValid();
else
return (FileData
)IsValid();
}

Discussion

  • Mamoru TASAKA

    Mamoru TASAKA - 2021-05-15
     
  • David Hart

    David Hart - 2021-05-15

    Is this different from your previous report, https://sourceforge.net/p/fourpane/bugs/11/ ? Or is the report itself recursive? ;)

    In the intervening 5 years, I've had no reports of actual infinite recursion, and experienced none myself.

     
  • David Hart

    David Hart - 2021-05-15
    • status: open --> closed-invalid
     

Log in to post a comment.