Skip to content

Commit 95bb51c

Browse files
committed
Remove unused function fsname_cmp
This function isn't used anywhere. Addressing GCC warining: /home/jcerny/openscap/src/OVAL/probes/fsdev.c:77:12: warning:‘fsname_cmp’ defined but not used [-Wunused-function] static int fsname_cmp(const void *a, const void *b) ^~~~~~~~~~
1 parent c146e17 commit 95bb51c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/OVAL/probes/fsdev.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,6 @@ static int fsdev_cmp(const void *a, const void *b)
7373
return memcmp(a, b, sizeof(dev_t));
7474
}
7575

76-
/**
77-
* Compare two strings.
78-
*/
79-
static int fsname_cmp(const void *a, const void *b)
80-
{
81-
return strcmp(a, b);
82-
}
83-
8476
#if defined(__linux__) || defined(_AIX)
8577

8678
#define DEVID_ARRAY_SIZE 16

0 commit comments

Comments
 (0)