]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Fix release build (unused var)
authorJustin Viiret <justin.viiret@intel.com>
Wed, 13 Jan 2016 21:52:18 +0000 (08:52 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Tue, 1 Mar 2016 00:24:08 +0000 (11:24 +1100)
src/runtime.c

index a338863931fb219d2a3eb3a2580fe4a2e924841a..8890e53f950ace60fc8156f468a64a194d0c557b 100644 (file)
@@ -1183,8 +1183,7 @@ void rawStreamExec(struct hs_stream *stream_state, struct hs_scratch *scratch) {
     assert(stream_state);
     assert(scratch);
 
-    char *state = getMultiState(stream_state);
-    assert(!getBroken(state));
+    assert(!getBroken(getMultiState(stream_state)));
 
     DEBUG_PRINTF("::: streaming rose ::: offset = %llu len = %zu\n",
                  stream_state->offset, scratch->core_info.len);