[libvirt] [PATCH 09/12] tests: qemuxml2xml: Use standard file comparison helpers
Cole Robinson
crobinso at redhat.com
Sat Jan 9 00:14:55 UTC 2016
On 01/08/2016 02:09 AM, Peter Krempa wrote:
> On Thu, Jan 07, 2016 at 22:50:03 -0500, Cole Robinson wrote:
>> This also makes VIR_TEST_REGENERATE_OUTPUT work
>> ---
>> tests/qemuxml2xmltest.c | 6 ++----
>> 1 file changed, 2 insertions(+), 4 deletions(-)
>>
>> diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
>> index f967ceb..e3bd9c2 100644
>> --- a/tests/qemuxml2xmltest.c
>> +++ b/tests/qemuxml2xmltest.c
>> @@ -43,7 +43,7 @@ static int
>> testXML2XMLHelper(const char *inxml,
>> const char *inXmlData,
>> const char *outxml,
>> - const char *outXmlData,
>> + const char *outXmlData ATTRIBUTE_UNUSED,
>
> Since there are just two callers of this you might as well as remove
> this argument rather than making it unused.
>
Good point. I dropped this in favor of a bigger cleanup anyways, see just
posted patches
Thanks,
Cole
More information about the libvir-list
mailing list