Commit 0f2f2a59 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Git: Remove unused default value

Change-Id: I2e9354cc675281a5025706d023e92d43c81910f6
Reviewed-by: default avatarTobias Hunger <>
parent b4539346
......@@ -175,7 +175,7 @@ QStringList CommitData::filterFiles(const CommitData::FileState &state) const
QStringList result;
foreach (const StateFilePair &p, files) {
if (state == AllStates || state == p.first)
if (state == p.first)
return result;
......@@ -99,7 +99,7 @@ public:
// Convenience to retrieve the file names from
// the specification list. Optionally filter for a certain state
QStringList filterFiles(const FileState &state = AllStates) const;
QStringList filterFiles(const FileState &state) const;
static QString stateDisplayName(const FileState &state);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment