Skip to content

Commit 5cffb0d

Browse files
committed
refactor: remove unused clock member of scanner_t struct
Haven't needed it yet, so remove it. Can add it back later if necessary.
1 parent b71f0db commit 5cffb0d

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

lua/wincent/commandt/lib/commandt.h

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,6 @@ typedef struct {
4949
* Book-keeping detail, needed for call to `munmap()`.
5050
*/
5151
ssize_t buffer_size;
52-
53-
/**
54-
* @internal
55-
*
56-
* Counter that increments any time the candidates change.
57-
*/
58-
unsigned clock; // TODO: figure out whether I need this
5952
} scanner_t;
6053

6154
// TODO flesh this out; basically make it a container for instance variables

lua/wincent/commandt/private/lib.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ setmetatable(c, {
3434
ssize_t candidates_size;
3535
char *buffer;
3636
ssize_t buffer_size;
37-
unsigned clock;
3837
} scanner_t;
3938
4039
typedef struct {

0 commit comments

Comments
 (0)