maskit commented on code in PR #10068:
URL: https://github.com/apache/trafficserver/pull/10068#discussion_r1269726218
##########
src/tscore/Regex.cc:
##########
@@ -55,10 +55,10 @@ Regex::Regex(Regex &&that) noexcept : regex(that.regex),
regex_extra(that.regex_
bool
Regex::compile(const char *pattern, const unsigned flags)
{
- const char *error;
- int erroffset;
- int options = 0;
- int study_opts = 0;
+ const char *error = NULL;
Review Comment:
Please use `nullptr` instead.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]