From f6e419ba6ceeb7c1da5cb1432d8e7347e8bc6fbc Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 1 Jun 2018 19:06:34 +0200 Subject: [PATCH] parser.y: minor cleanup --- src/liboconfig/parser.y | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/liboconfig/parser.y b/src/liboconfig/parser.y index 0afc9b57..1b2d6ccd 100644 --- a/src/liboconfig/parser.y +++ b/src/liboconfig/parser.y @@ -266,12 +266,12 @@ static char *unquote (const char *orig) { char *ret = strdup (orig); if (ret == NULL) - return (NULL); + return NULL; size_t len = strlen (ret); if ((len < 2) || (ret[0] != '"') || (ret[len - 1] != '"')) - return (ret); + return ret; len -= 2; memmove (ret, ret + 1, len); @@ -286,5 +286,5 @@ static char *unquote (const char *orig) } } - return (ret); + return ret; } /* char *unquote */ -- 2.11.0