From a092d9aa4bf39a7ce0c7aebb33493c7e35e539e4 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Wed, 28 Jun 2017 19:07:57 +0200 Subject: [PATCH] the result of encode() and decode() is unused --- quark.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/quark.c b/quark.c index 9e9c151..d05385c 100644 --- a/quark.c +++ b/quark.c @@ -104,7 +104,7 @@ timestamp(time_t t, char buf[TIMESTAMP_LEN]) return buf; } -static size_t +static void decode(char src[PATH_MAX], char dest[PATH_MAX]) { size_t i; @@ -122,11 +122,9 @@ decode(char src[PATH_MAX], char dest[PATH_MAX]) } } dest[i] = '\0'; - - return i; } -static size_t +static void encode(char src[PATH_MAX], char dest[PATH_MAX]) { size_t i; @@ -141,8 +139,6 @@ encode(char src[PATH_MAX], char dest[PATH_MAX]) i++; } } - - return 0; } static enum status