aboutsummaryrefslogtreecommitdiff
path: root/src/libregexp
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-01-14 17:55:23 +0000
committerrsc <devnull@localhost>2005-01-14 17:55:23 +0000
commit5ba56e9139188cc747690851f73e0f4c2e20bf14 (patch)
tree85404a846cafb97a3b10fc3ee78037579e19d4f9 /src/libregexp
parent1574caa0df2f76a3c1c76009db6151f62964dbca (diff)
downloadplan9port-5ba56e9139188cc747690851f73e0f4c2e20bf14.tar.gz
plan9port-5ba56e9139188cc747690851f73e0f4c2e20bf14.tar.bz2
plan9port-5ba56e9139188cc747690851f73e0f4c2e20bf14.zip
silence warning
Diffstat (limited to 'src/libregexp')
-rw-r--r--src/libregexp/regcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libregexp/regcomp.c b/src/libregexp/regcomp.c
index 796efc41..87acd7ac 100644
--- a/src/libregexp/regcomp.c
+++ b/src/libregexp/regcomp.c
@@ -472,7 +472,7 @@ static Reprog*
regcomp1(char *s, int literal, int dot_type)
{
int token;
- Reprog *pp;
+ Reprog *volatile pp;
/* get memory for the program */
pp = malloc(sizeof(Reprog) + 6*sizeof(Reinst)*strlen(s));