summaryrefslogtreecommitdiff
path: root/openbsd-compat/fnmatch.c
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2020-06-07 10:19:23 +0100
committerColin Watson <cjwatson@debian.org>2020-06-07 10:19:23 +0100
commit202f5a676221c244cd450086c334c2b59f339e86 (patch)
treed2f90a3a9ce2b33485c271eab01a48f02ef6fb5a /openbsd-compat/fnmatch.c
parentf0de78bd4f29fa688c5df116f3f9cd43543a76d0 (diff)
parent9ca7e9c861775dd6c6312bc8aaab687403d24676 (diff)
Import openssh_8.3p1.orig.tar.gz
Diffstat (limited to 'openbsd-compat/fnmatch.c')
-rw-r--r--openbsd-compat/fnmatch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsd-compat/fnmatch.c b/openbsd-compat/fnmatch.c
index da841d203..b5641a091 100644
--- a/openbsd-compat/fnmatch.c
+++ b/openbsd-compat/fnmatch.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: fnmatch.c,v 1.21 2016/03/01 20:29:03 millert Exp $ */ 1/* $OpenBSD: fnmatch.c,v 1.22 2020/03/13 03:25:45 djm Exp $ */
2 2
3/* Copyright (c) 2011, VMware, Inc. 3/* Copyright (c) 2011, VMware, Inc.
4 * All rights reserved. 4 * All rights reserved.
@@ -294,7 +294,7 @@ int fnmatch(const char *pattern, const char *string, int flags)
294 const int leading_dir = !!(flags & FNM_LEADING_DIR); 294 const int leading_dir = !!(flags & FNM_LEADING_DIR);
295 const char *dummyptr, *matchptr, *strendseg; 295 const char *dummyptr, *matchptr, *strendseg;
296 int wild; 296 int wild;
297 /* For '*' wild processing only; surpress 'used before initialization' 297 /* For '*' wild processing only; suppress 'used before initialization'
298 * warnings with dummy initialization values; 298 * warnings with dummy initialization values;
299 */ 299 */
300 const char *strstartseg = NULL; 300 const char *strstartseg = NULL;