]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Don't remove ccode, just conditionalise it
authorSimon Wilkinson <sxw@inf.ed.ac.uk>
Fri, 10 Jul 2009 19:28:06 +0000 (20:28 +0100)
committerJeffrey Altman <jaltman@openafs.org>
Fri, 10 Jul 2009 19:31:32 +0000 (13:31 -0600)
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 <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
src/volser/vos.c

index c167a53f54562a6acc719cf63c647bebf1a962b6..4c15cc8dcc479e7460eac517268c4ece486dd65c 100644 (file)
@@ -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;