Skip to content

Commit ac76bf9

Browse files
author
D. A. Pellegrino
committed
#246 Removed unused varibles in suffixtree code as reported by Intel compiler.
1 parent 2832d10 commit ac76bf9

2 files changed

Lines changed: 0 additions & 20 deletions

File tree

libcds/src/static/suffixtree/LCP_PT.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include <LCP_PT.h>
2020

2121
const int max_precomputed_cover = 8;
22-
const int coversizes[max_precomputed_cover+1]= {1,2,3,4,5,7,9,13,20};
2322
const unsigned cover0[] = {0};
2423
const unsigned cover1[] = {0,1};
2524
const unsigned cover2[] = {0,1,2};

libcds/src/static/suffixtree/factorization.cpp

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,6 @@
2323

2424
const unsigned int TABLEBASE[7] = {0,16,272,4368,69904,1118480,17895696};
2525

26-
const unsigned short TABLESUM[256] = {
27-
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
28-
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16,
29-
2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17,
30-
3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18,
31-
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19,
32-
5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
33-
6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21,
34-
7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22,
35-
8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
36-
9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24,
37-
10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25,
38-
11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26,
39-
12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27,
40-
13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28,
41-
14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
42-
15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30
43-
};
44-
4526
namespace cds_static
4627
{
4728

0 commit comments

Comments
 (0)