Why is my bool being set to true when there is no c++ code written that is supposed to do that

It is also setting bool One to true, but bool One is not inside of the function.
What do you mean?