[gtk/static-analysis-fixes: 4/13] fnmatch: Static analysis fixes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/static-analysis-fixes: 4/13] fnmatch: Static analysis fixes
- Date: Mon, 3 May 2021 11:45:01 +0000 (UTC)
commit a69ae36a993f56bc8dc0f840a5c3b8302e603e40
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 3 07:33:49 2021 -0400
fnmatch: Static analysis fixes
gtk/fnmatch.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/fnmatch.c b/gtk/fnmatch.c
index 87582cab69..fada2b7229 100644
--- a/gtk/fnmatch.c
+++ b/gtk/fnmatch.c
@@ -106,7 +106,7 @@ gtk_fnmatch_intern (const char *pattern,
return FALSE;
{
- const char *last_p = p;
+ const char *last_p;
for (last_p = p, c = get_char (&p);
c == '?' || c == '*';
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]