the result of encode() and decode() is unused
This commit is contained in:
parent
e8dab1db94
commit
a092d9aa4b
1 changed files with 2 additions and 6 deletions
8
quark.c
8
quark.c
|
@ -104,7 +104,7 @@ timestamp(time_t t, char buf[TIMESTAMP_LEN])
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
||||||
static size_t
|
static void
|
||||||
decode(char src[PATH_MAX], char dest[PATH_MAX])
|
decode(char src[PATH_MAX], char dest[PATH_MAX])
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
|
@ -122,11 +122,9 @@ decode(char src[PATH_MAX], char dest[PATH_MAX])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dest[i] = '\0';
|
dest[i] = '\0';
|
||||||
|
|
||||||
return i;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static size_t
|
static void
|
||||||
encode(char src[PATH_MAX], char dest[PATH_MAX])
|
encode(char src[PATH_MAX], char dest[PATH_MAX])
|
||||||
{
|
{
|
||||||
size_t i;
|
size_t i;
|
||||||
|
@ -141,8 +139,6 @@ encode(char src[PATH_MAX], char dest[PATH_MAX])
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static enum status
|
static enum status
|
||||||
|
|
Loading…
Reference in a new issue