Re: [PATCH v2 3/5] test: Introduce testing of virStorageUtilGlusterExtractPoolSources

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2017-04-04 at 13:50 +0200, Peter Krempa wrote:
> > > +#undef DO_TEST_GLUSTER_LOOKUP_NATIVE
> > > +#undef DO_TEST_GLUSTER_LOOKUP_NETFS
> > > +#undef DO_TEST_GLUSTER_LOOKUP_FULL
> > 
> > The #undefs are a bit unnecessary in this context, I'd leave
> > them out.
> 
> It's true that it would be hard to use these somewhere else (since they
> are in a .c file) but ad-hoc macros should be undefined. Otherwise they
> are not ad-hoc and should bear the VIR_ prefix.

Feel free to leave the hunk in then :)

-- 
Andrea Bolognani / Red Hat / Virtualization

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux