This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] Ensure result of make_cleanup is never NULL.


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]