diff --git a/output.cc b/output.cc index 1e8b84de3..b8d79fe4d 100644 --- a/output.cc +++ b/output.cc @@ -427,10 +427,6 @@ static char *formatScriptOutput(ScriptResult sr) { c_output = sr.get_output().c_str(); p = c_output; - /* Skip initial newlines. */ - while (*p == '\n') - p++; - while (*p != '\0') { q = strchr(p, '\n'); if (q == NULL) {