From 586d32c53370458c780c721995695f1ee7bee272 Mon Sep 17 00:00:00 2001 From: Simon Wilkinson Date: Fri, 10 Jul 2009 20:28:06 +0100 Subject: [PATCH] Don't remove ccode, just conditionalise it The change in b21015242022872101b9c3c78df511e2a2dc6399 broke systems without posix regexes by removing, rather than conditionalising the 'ccode' variable Reviewed-on: http://gerrit.openafs.org/40 Verified-by: Jeffrey Altman Reviewed-by: Jeffrey Altman --- src/volser/vos.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/volser/vos.c b/src/volser/vos.c index c167a53f5..4c15cc8dc 100644 --- a/src/volser/vos.c +++ b/src/volser/vos.c @@ -4542,6 +4542,9 @@ BackSys(register struct cmd_syndesc *as, void *arock) int same = 0; struct cmd_item *ti; int match = 0; +#ifndef HAVE_POSIX_REGEX + char *ccode; +#endif memset(&attributes, 0, sizeof(struct VldbListByAttributes)); attributes.Mask = 0; -- 2.39.5