]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
tests: remove extra trailing semicolon
authorJonathon Jongsma <jjongsma@redhat.com>
Wed, 1 Jul 2020 16:08:34 +0000 (11:08 -0500)
committerJonathon Jongsma <jjongsma@redhat.com>
Wed, 7 Apr 2021 20:03:34 +0000 (15:03 -0500)
The macro should not have a trailing semicolon so that when the macro is
used, the user can add a semicolon themselves.

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
tests/nodedevmdevctltest.c

index c12feaac55ad5910bd9b289a8d1e36f1edf162fd..650e46a29f6fca6224c0a662ebd9b72f7b763f9c 100644 (file)
@@ -273,7 +273,7 @@ mymain(void)
         struct startTestInfo info = { virt_type, create, filename }; \
         DO_TEST_FULL("mdevctl start " filename, testMdevctlStartHelper, info); \
        } \
-    while (0);
+    while (0)
 
 #define DO_TEST_START(filename) \
     DO_TEST_START_FULL("QEMU", CREATE_DEVICE, filename)