]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
remove unused variable
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Wed, 17 Jan 2024 15:02:32 +0000 (17:02 +0200)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Wed, 17 Jan 2024 15:02:32 +0000 (17:02 +0200)
unit/hyperscan/arg_checks.cpp

index 21c8707f65f7df7485dad6f207e8034c827b765f..45a73d4176db43723c01fcec60f082b85be8e11f 100644 (file)
@@ -2430,7 +2430,6 @@ TEST(HyperscanArgChecks, ExpandNoTo) {
     err = hs_compress_stream(stream1, buf, sizeof(buf), &used);
     ASSERT_EQ(HS_SUCCESS, err);
 
-    hs_stream_t *stream2;
     err = hs_expand_stream(db, nullptr, buf, used);
     ASSERT_EQ(HS_INVALID, err);