From: Shi Lei Date: Thu, 13 Sep 2018 08:55:23 +0000 (+0800) Subject: tests: remove blank first line in function body X-Git-Tag: v4.8.0-rc1~173 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=311a8097f9fa9a39f90662ffa813741fff51800f;p=thirdparty%2Flibvirt.git tests: remove blank first line in function body Signed-off-by: Shi Lei --- diff --git a/tests/virnetdevmock.c b/tests/virnetdevmock.c index a9967b77c1..3eb5059031 100644 --- a/tests/virnetdevmock.c +++ b/tests/virnetdevmock.c @@ -34,7 +34,6 @@ virNetDevSysfsFile(char **pf_sysfs_device_link, const char *ifname, const char *file) { - if (virAsprintfQuiet(pf_sysfs_device_link, "%s/%s/%s", NET_DEV_TEST_DATA_PREFIX, ifname, file) < 0) { fprintf(stderr, "Out of memory\n"); diff --git a/tests/vshtabletest.c b/tests/vshtabletest.c index 1138e34161..ce415e8c5c 100644 --- a/tests/vshtabletest.c +++ b/tests/vshtabletest.c @@ -116,7 +116,6 @@ testVshTableRowAppend(const void *opaque ATTRIBUTE_UNUSED) static int testUnicode(const void *opaque ATTRIBUTE_UNUSED) { - int ret = 0; char *act = NULL; @@ -149,7 +148,6 @@ testUnicode(const void *opaque ATTRIBUTE_UNUSED) static int testUnicodeArabic(const void *opaque ATTRIBUTE_UNUSED) { - int ret = 0; char *act = NULL; @@ -193,7 +191,6 @@ testUnicodeArabic(const void *opaque ATTRIBUTE_UNUSED) static int testUnicodeZeroWidthChar(const void *opaque ATTRIBUTE_UNUSED) { - int ret = 0; vshTablePtr table = NULL; const char *exp =