Refactor, simplify ... print() APIs already check if silent

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-07-02 12:38:35 +02:00
1 parent bd54cf6dee
commit e9d5512e1a
4 files changed
+22 -52

No files matched your search

+1 -2
View File
@@ -450,8 +450,7 @@ static int parse_conf(char *file)
strcat(line, " ");
}
if (!silent)
print(0, "Loading %sconfiguration", line);
print(0, "Loading %sconfiguration", line);
_d("Parsing %s", file);
while (!feof(fp)) {