Menu

#938 Correct variable name in if statment in 1TBS code example

Next_Nightly
applied
None
Patch
2020-04-02
2020-04-02
No

The example code was:

int Foo(bool isBar)
{
    if (isFoo) {
        bar();
        return 1;
    } else {
        return 0;
    }
}

It should be if (isBar) {

http://forums.codeblocks.org/index.php/topic,23749.0.html

1 Attachments

Discussion

  • Morten MacFly

    Morten MacFly - 2020-04-02
    • status: open --> applied
    • assigned_to: Morten MacFly
    • Milestone: Undefined --> Next_Nightly
     
  • Morten MacFly

    Morten MacFly - 2020-04-02

    You are right. Fixed in SVN. Thank you!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.