Skip to content

Commit 3f7a3dc

Browse files
committed
FileSystemInfo: remove unused set functions
1 parent 5d5ce2c commit 3f7a3dc

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

mythtv/libs/libmythbase/filesysteminfo.h

+3-7
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,9 @@ class MBASE_PUBLIC FileSystemInfo
7171
// information puts
7272
void setHostname(QString hostname) { m_hostname = std::move(hostname); }
7373
void setPath(QString path) { m_path = std::move(path); }
74-
void setLocal(bool local = true) { m_local = local; }
75-
void setFSysID(int id) { m_fsid = id; }
76-
void setGroupID(int id) { m_grpid = id; }
77-
void setBlockSize(int size) { m_blksize = size; }
78-
void setTotalSpace(int64_t size) { m_total = size; }
79-
void setUsedSpace(int64_t size) { m_used = size; }
80-
void setWeight(int weight) { m_weight = weight; }
74+
void setFSysID(int id) { m_fsid = id; } // TODO add regenerate option to Consolidate
75+
void setUsedSpace(int64_t size) { m_used = size; } // TODO call refresh in autoexpire after deleting? autoexpire's log message uses the wrong units, should be KiB
76+
void setWeight(int weight) { m_weight = weight; } // scheduler, use std::pair<int, FileSystemInfo>?
8177

8278
bool ToStringList(QStringList &slist) const;
8379
QStringList ToStringList() const;

0 commit comments

Comments
 (0)