From 14d2ed4cf9d31851b119118d0bf6466c76e31d62 Mon Sep 17 00:00:00 2001 From: Guillem Jover Date: Tue, 23 Jan 2024 12:28:49 +0100 Subject: [PATCH] libdpkg: Rename r variable for path_quote_filename() return to ret MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This contains the returned string, so «ret» is somewhat more descriptive than just «r». --- lib/dpkg/path.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dpkg/path.c b/lib/dpkg/path.c index 1a4dba182..d7b20d633 100644 --- a/lib/dpkg/path.c +++ b/lib/dpkg/path.c @@ -131,11 +131,11 @@ path_make_temp_template(const char *suffix) char * path_quote_filename(char *dst, const char *src, size_t n) { - char *r = dst; + char *ret = dst; ssize_t size = (ssize_t)n; if (size == 0) - return r; + return ret; while (*src) { if (*src == '\\') { @@ -166,5 +166,5 @@ path_quote_filename(char *dst, const char *src, size_t n) *dst = '\0'; - return r; + return ret; } -- 2.11.4.GIT