mirror of
https://github.com/nasa/trick.git
synced 2025-06-23 01:08:52 +00:00
various static analyser bug fixes
This commit is contained in:
@ -85,7 +85,7 @@ std::string FieldDescription::get_regex_field(std::string input , const char * e
|
||||
regex_t reg_expr ;
|
||||
regmatch_t pmatch[10] ;
|
||||
memset(pmatch , 0 , sizeof(pmatch)) ;
|
||||
ret = regcomp( ®_expr , expr , REG_EXTENDED ) ;
|
||||
regcomp( ®_expr , expr , REG_EXTENDED ) ;
|
||||
//std::cout << "regcomp ret = " << ret << std::endl ;
|
||||
ret = regexec( ®_expr , input.c_str() , 10 , pmatch , 0 ) ;
|
||||
//std::cout << "regexec ret = " << ret << std::endl ;
|
||||
|
Reference in New Issue
Block a user