summaryrefslogtreecommitdiffstats
path: root/lib/libc/posix1e/mac.c
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2003-02-18 13:39:52 +0000
committernectar <nectar@FreeBSD.org>2003-02-18 13:39:52 +0000
commite369901c4d167440aa02ef1987950bb77fba23c1 (patch)
tree4afd9096ca162a7605b911ec3ce13112b78ae4c2 /lib/libc/posix1e/mac.c
parent6082d8705b68f88bdc0970a55dc6d70b772c9655 (diff)
downloadFreeBSD-src-e369901c4d167440aa02ef1987950bb77fba23c1.zip
FreeBSD-src-e369901c4d167440aa02ef1987950bb77fba23c1.tar.gz
Whack 28 unused variables.
Diffstat (limited to 'lib/libc/posix1e/mac.c')
-rw-r--r--lib/libc/posix1e/mac.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/libc/posix1e/mac.c b/lib/libc/posix1e/mac.c
index ebea67b..3c08e47 100644
--- a/lib/libc/posix1e/mac.c
+++ b/lib/libc/posix1e/mac.c
@@ -97,9 +97,7 @@ mac_init_internal(void)
return (0);
while (fgets(line, LINE_MAX, file)) {
- char *argv[ARG_MAX];
- char *arg, *parse, *statement, *policyname, *modulename;
- int argc;
+ char *arg, *parse, *statement;
if (line[strlen(line)-1] == '\n')
line[strlen(line)-1] = '\0';
@@ -206,7 +204,6 @@ mac_reload(void)
int
mac_free(struct mac *mac)
{
- int error;
if (mac->m_string != NULL)
free(mac->m_string);
@@ -218,9 +215,6 @@ mac_free(struct mac *mac)
int
mac_from_text(struct mac **mac, const char *text)
{
- struct mac *temp;
- char *dup, *element, *search;
- int count, error;
*mac = (struct mac *) malloc(sizeof(**mac));
if (*mac == NULL)
@@ -251,7 +245,6 @@ mac_to_text(struct mac *mac, char **text)
int
mac_prepare(struct mac **mac, char *elements)
{
- struct mac *temp;
if (strlen(elements) >= MAC_MAX_LABEL_BUF_LEN)
return (EINVAL);
OpenPOWER on IntegriCloud