diff --git a/new.cc b/new.cc index fc5d5e5..3798355 100644 --- a/new.cc +++ b/new.cc @@ -9,7 +9,7 @@ extern "C" { } COLD static void *handle_out_of_memory(size_t size, bool nothrow) { - void *ptr; + void *ptr = nullptr; do { std::new_handler handler = std::get_new_handler();