Skip to content

Commit 275b73e

Browse files
committed
Remove debug print
1 parent ea49a3a commit 275b73e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/cmake_generator.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ static void generate_gitfile(const char *gitfile, const std::vector<std::string>
170170
auto flush_line = [&line, &lines]() {
171171
auto itr = std::find(lines.begin(), lines.end(), line);
172172
if (itr != lines.end()) {
173-
printf("erase:%s\n", line.c_str());
174173
lines.erase(itr);
175174
}
176175
line.clear();
@@ -618,7 +617,7 @@ void generate_cmake(const char *path, const parser::Project *parent_project) {
618617
for (auto const &lang : project.project_languages) {
619618
if (known_languages.find(lang) == known_languages.end()) {
620619
if (project.project_allow_unknown_languages) {
621-
printf("Unknown language '%s' specified\n", lang.c_str());
620+
printf("[warning] Unknown language '%s' specified\n", lang.c_str());
622621
} else {
623622
throw std::runtime_error("Unknown language '" + lang + "' specified");
624623
}

0 commit comments

Comments
 (0)