removed invalid comment.

when i wrote that code, i forgot that the user can press continue in the assertion error dialog.
This commit is contained in:
gfgtdf 2014-04-16 03:49:56 +02:00
parent a4ca7c164f
commit 6845d5d9fe

View File

@ -460,10 +460,9 @@ config& replay::get_last_real_command()
} }
return c; return c;
} }
ERR_REPLAY << "replay::get_last_real_command called with not existant command.\n"; ERR_REPLAY << "replay::get_last_real_command called with no existent command.\n";
assert(false && "replay::get_last_real_command called with not existant command."); assert(false && "replay::get_last_real_command called with no existent command.");
//this code can never be reached because of the assert above so no need to return something. throw "replay::get_last_real_command called with no existent command.";
throw "assert didnt work :o";
} }