summaryrefslogtreecommitdiff
path: root/x2p/str.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-05-30 23:12:30 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-05-30 23:12:30 +0000
commitb7953727b0415d171133ea7caa7aca5672129f99 (patch)
tree04eeafc77fc5ed0662e0e330e4960ab6b6402acc /x2p/str.c
parent659ca9ea8f57ee52a52802839584b7208ad161b7 (diff)
downloadperl-b7953727b0415d171133ea7caa7aca5672129f99.tar.gz
More -Wall silencing from Michael Schwern and Jarkko Hietaniemi.
p4raw-id: //depot/perl@10335
Diffstat (limited to 'x2p/str.c')
-rw-r--r--x2p/str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x2p/str.c b/x2p/str.c
index 310bcd6e3b..0587205270 100644
--- a/x2p/str.c
+++ b/x2p/str.c
@@ -221,7 +221,7 @@ str_replace(register STR *str, register STR *nstr)
str->str_len = nstr->str_len;
str->str_cur = nstr->str_cur;
str->str_pok = nstr->str_pok;
- if (str->str_nok = nstr->str_nok)
+ if ((str->str_nok = nstr->str_nok))
str->str_nval = nstr->str_nval;
safefree((char*)nstr);
}