Signed-off-by: Shi Lei <shi_lei(a)massclouds.com>
---
tests/virnetdevmock.c | 1 -
tests/vshtabletest.c | 3 ---
2 files changed, 4 deletions(-)
diff --git a/tests/virnetdevmock.c b/tests/virnetdevmock.c
index a9967b7..3eb5059 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 1138e34..ce415e8 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 =
--
2.17.1