forked from boostorg/regex
Fixed purify warings about access to unitialised memory
[SVN r10232]
This commit is contained in:
@ -1730,8 +1730,13 @@ unsigned int BOOST_RE_CALL reg_expression<charT, traits, Allocator>::set_express
|
|||||||
return error_code();
|
return error_code();
|
||||||
}
|
}
|
||||||
// extend:
|
// extend:
|
||||||
/*dat = */add_simple(dat, re_detail::syntax_element_jump, re_detail::re_jump_size);
|
dat = add_simple(dat, re_detail::syntax_element_jump, re_detail::re_jump_size);
|
||||||
data.align();
|
data.align();
|
||||||
|
//
|
||||||
|
// we don't know what value to put here yet,
|
||||||
|
// use an arbitrarily large value for now
|
||||||
|
// and check it later (TODO!)
|
||||||
|
((re_detail::re_jump*)dat)->alt.i = INT_MAX/2;
|
||||||
|
|
||||||
// now work out where to insert:
|
// now work out where to insert:
|
||||||
unsigned int offset = 0;
|
unsigned int offset = 0;
|
||||||
|
Reference in New Issue
Block a user