[RFA] Ensure result of make_cleanup is never NULL.

Joel Brobecker brobecker@adacore.com
Wed Apr 18 01:58:00 GMT 2012


> btw, I thought about making cleanup_sentinel const here, for a bit of
> extra robustness.

Sounds like a good idea. And also, I was wondering if it made sense
to initialize the sentinel struct to `{ 0 }', even if we do not
actually access the contents of that specific struct instance?

-- 
Joel



More information about the Gdb-patches mailing list