Buried in warnings
Buried in warnings
Posted Nov 2, 2006 10:46 UTC (Thu) by Asebe8zu (subscriber, #24600)In reply to: Buried in warnings by JoeBuck
Parent article: Buried in warnings
Couldn't you use the following to make it correct?
some_type* pointer;
if (some_condition_is_true()) {
pointer = expensive_allocation_function();
do_something_else();
use_the_fine(pointer);
}
else
{
do_something_else();
}
