On Tue, 2015-07-14 at 11:23 +0100, Ian Jackson wrote:
> Ian Campbell writes ("Re: [PATCH 1/9] libxl: fix libxl__abs_path"):
> > On Mon, 2015-07-13 at 18:12 +0100, Ian Jackson wrote:
> > > There are no call sites in libxl which can pass a NULL.
> > > 
> > > I think that if we are to retain this feature, it ought to be
> > > documented, at least.
> > 
> > Or add an assert if we don't wish to support this?
> 
> If we don't want to support it we can just remove the check and let it
> crash.

An assert at least gets us a slightly improved message when it happens.

Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

Reply via email to