intel / hyperscan

High-performance regular expression matching library
https://www.hyperscan.io
Other
4.78k stars 710 forks source link

Never used variable 'stream2' #176

Open QiAnXinCodeSafe opened 5 years ago

QiAnXinCodeSafe commented 5 years ago

https://github.com/intel/hyperscan/blob/7729ade0fa291cedb3cbbebb3bafcb9fb8ece81b/unit/hyperscan/arg_checks.cpp#L2433

QiAnXinCodeSafe commented 4 years ago

the same issus

  1. never used variable 'c' https://github.com/intel/hyperscan/blob/d79973efb1fcf5ed338122882c1f896829767fb6/unit/hyperscan/stream_op.cpp#L592

  2. never used variable 'c' https://github.com/intel/hyperscan/blob/d79973efb1fcf5ed338122882c1f896829767fb6/unit/hyperscan/stream_op.cpp#L752

  3. never used variable 'c' https://github.com/intel/hyperscan/blob/d79973efb1fcf5ed338122882c1f896829767fb6/unit/hyperscan/stream_op.cpp#L789

xiangwang1 commented 4 years ago

Thanks for reporting. We'll remove unused variables.