summaryrefslogtreecommitdiff
path: root/openbsd-compat/fnmatch.c
diff options
context:
space:
mode:
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;