Skip to content
This repository was archived by the owner on Jun 15, 2023. It is now read-only.

Commit 30a30b5

Browse files
cknittcristianoc
authored andcommitted
Fix typo: staled -> stale
1 parent f96329a commit 30a30b5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/clean.cc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,17 +142,17 @@ void Cleaner::CleanDead(const BuildLog::Entries& entries) {
142142
}
143143

144144
if (!staleFiles.empty()) {
145-
printf("Staled output removed\n");
145+
printf("Stale output removed\n");
146146
if (!state_->cleaner.empty()) {
147-
vector<string> staled_cm;
147+
vector<string> stale_cm;
148148
for (set<string>::const_iterator i = staleFiles.begin();
149149
i != staleFiles.end(); ++i) {
150150
if (StringPiece::getCmjSuffix().IsSuffix(*i)) {
151-
staled_cm.push_back(*i);
151+
stale_cm.push_back(*i);
152152
}
153153
}
154-
for (size_t i = 0; i < staled_cm.size(); ++i) {
155-
string& cmj = staled_cm[i];
154+
for (size_t i = 0; i < stale_cm.size(); ++i) {
155+
string& cmj = stale_cm[i];
156156
cmj[cmj.size() - 1] = 't';
157157
RemoveFile(cmj);
158158
string command = state_->cleaner + " -cmt-rm " + cmj;

0 commit comments

Comments
 (0)