Skip to content

Commit 0164cb0

Browse files
authored
Merge pull request #239 from donpellegrino/236-remove-CSD_PFC-count
236 remove csd pfc count
2 parents 4a75ae8 + dfa07d8 commit 0164cb0

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

libhdt/src/libdcs/CSD_PFC.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ class PFCSuggestionIterator: public hdt::IteratorUCharString {
188188
private:
189189
CSD_PFC *pfc;
190190
size_t max;
191-
size_t count;
192191
const char *prefix;
193192
bool hasnext;
194193
string tmpStr;
@@ -202,7 +201,7 @@ class PFCSuggestionIterator: public hdt::IteratorUCharString {
202201
public:
203202

204203
PFCSuggestionIterator(CSD_PFC *pfc, const char *prefix) :
205-
pfc(pfc), count(1), prefix(prefix) {
204+
pfc(pfc), prefix(prefix) {
206205
max = pfc->getLength();
207206
prefixlen = strlen(prefix);
208207
hasnext = false;
@@ -325,7 +324,6 @@ class PFCSuggestionIDIterator: public hdt::IteratorUInt {
325324
private:
326325
CSD_PFC *pfc;
327326
size_t max;
328-
size_t count;
329327
const char *prefix;
330328
bool hasnext;
331329
string tmpStr;
@@ -339,7 +337,7 @@ class PFCSuggestionIDIterator: public hdt::IteratorUInt {
339337
public:
340338

341339
PFCSuggestionIDIterator(CSD_PFC *pfc, const char *prefix) :
342-
pfc(pfc), count(1), prefix(prefix) {
340+
pfc(pfc), prefix(prefix) {
343341
max = pfc->getLength();
344342
prefixlen = strlen(prefix);
345343
hasnext = false;

0 commit comments

Comments
 (0)