quark

quark web server
git clone git://git.suckless.org/quark
Log | Files | Refs | LICENSE

commit a092d9aa4bf39a7ce0c7aebb33493c7e35e539e4
parent e8dab1db9491b844358754d79c6848e15a1fc3ee
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Wed, 28 Jun 2017 19:07:57 +0200

the result of encode() and decode() is unused

Diffstat:
quark.c | 8++------
1 file changed, 2 insertions(+), 6 deletions(-)

diff --git 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