From 98759f7bed3768ef150dcd41f97f87cbb84be8b1 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 21 Dec 2020 16:38:28 +0100 Subject: Remove cppcheck warnings about the variable scope can be reduced --- src/fr-archive.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/fr-archive.c') diff --git a/src/fr-archive.c b/src/fr-archive.c index 029d6fb..3d53f58 100644 --- a/src/fr-archive.c +++ b/src/fr-archive.c @@ -3335,10 +3335,11 @@ get_extract_here_destination (GFile *file, char *desired_destination; char *destination = NULL; int n = 1; - GFile *directory; desired_destination = get_desired_destination_for_archive (file); do { + GFile *directory; + *error = NULL; g_free (destination); -- cgit v1.2.1