Skip to content

Commit 678ed50

Browse files
mpictortpaviot
authored andcommitted
remove unused vars in clutils
1 parent 9324acc commit 678ed50

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/clutils/dirobj.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ const char* DirObj::RealPath (const char* path) {
118118

119119
boolean DirObj::LoadDirectory (const char* name) {
120120
char buf[MAXPATHLEN+2];
121-
const char* path = buf;
122121

123122
strcpy(buf, ValidDirectories(RealPath(name)));
124123
return Reset(buf);

src/clutils/gennodearray.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ GenNodeArray::Check (int index)
7171
GenericNode** newbuf;
7272

7373
if (index >= _bufsize) {
74-
int oldBufSize = _bufsize;
7574
_bufsize = (index+1) * 2;
7675
newbuf = new GenericNode*[_bufsize];
7776

0 commit comments

Comments
 (0)