]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
ng_misc_opt: remove dead code
authorJustin Viiret <justin.viiret@intel.com>
Wed, 31 May 2017 06:07:26 +0000 (16:07 +1000)
committerMatthew Barr <matthew.barr@intel.com>
Mon, 21 Aug 2017 01:10:11 +0000 (11:10 +1000)
src/nfagraph/ng_misc_opt.cpp

index 29939fec2b2f016b0a6043cda632f87f94ceffcc..dde5eb9574275542297d30da9b9ab9f9118f0265 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015-2016, Intel Corporation
+ * Copyright (c) 2015-2017, Intel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -554,9 +554,6 @@ bool mergeCyclicDotStars(NGHolder &g) {
  */
 static
 flat_set<NFAVertex> findDependentVertices(const NGHolder &g, NFAVertex v) {
-    auto v_pred = preds(v, g);
-    flat_set<NFAVertex> may_be_on;
-
     /* We need to exclude any vertex that may be reached on a path which is
      * incompatible with the vertex v being on. */