mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
NFA API: Remove nfaBlockExecReverse scratch arg
Scratch is no longer used by this function's implementations.
This commit is contained in:
committed by
Matthew Barr
parent
3e002f8181
commit
58f9617f66
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, Intel Corporation
|
||||
* Copyright (c) 2015-2016, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@@ -369,7 +369,7 @@ TEST_P(LimExReverseTest, BlockExecReverse) {
|
||||
const size_t hlen = 0;
|
||||
|
||||
nfaBlockExecReverse(nfa.get(), offset, buf, buflen, hbuf, hlen,
|
||||
scratch.get(), onMatch, &matches);
|
||||
onMatch, &matches);
|
||||
|
||||
ASSERT_EQ(3, matches);
|
||||
}
|
||||
|
Reference in New Issue
Block a user