]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
set an appropriate default value for RoleInfo::score
authorAlex Coyte <a.coyte@intel.com>
Thu, 11 Aug 2016 03:10:34 +0000 (13:10 +1000)
committerMatthew Barr <matthew.barr@intel.com>
Mon, 22 Aug 2016 06:03:51 +0000 (16:03 +1000)
Coverity CID 131843

src/rose/rose_build_exclusive.h

index a6772f7fb70d7f9cbb7046b10de11f2684e9b895..9cabb1d2853de40a93c54354518d4b06106e5d59 100644 (file)
@@ -89,7 +89,7 @@ struct RoleInfo {
     CharReach cr; // reach of engine graph
     const role_id role; // infix or suffix info
     const u32 id; // infix or suffix id
-    u32 score; // score for exclusive analysis
+    u32 score = ~0U; // score for exclusive analysis
 };
 
 /**