Check that code:

if (something bad)
      return;

It is good you are doing the early returns; it is bad you are failing silently. Return an error code.

if (something bad)
  return ESomethingBad;

Throw an exception.

if (something bad)
  throw ESomethingBad;

Assert:

assert(!something bad);

Log it:

if (something bad)
{
   std::clog << "something bad\n";
   return;
}

Next - Previous