projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0dff87
)
Simplified log_spacer() code
author
Clifford Wolf
<clifford@clifford.at>
Fri, 23 Dec 2016 01:06:46 +0000
(
02:06
+0100)
committer
Clifford Wolf
<clifford@clifford.at>
Fri, 23 Dec 2016 01:06:46 +0000
(
02:06
+0100)
kernel/log.cc
patch
|
blob
|
history
diff --git
a/kernel/log.cc
b/kernel/log.cc
index b3033024f6a1ebe0ce56b5ee3721272a211b0a10..cd16bb3449a73a7755f9338a3a7a62ea008c28c8 100644
(file)
--- a/
kernel/log.cc
+++ b/
kernel/log.cc
@@
-289,12
+289,8
@@
void log_cmd_error(const char *format, ...)
void log_spacer()
{
- while (log_newline_count < 2) {
- int old_log_newline_count = log_newline_count;
- log("\n");
- if (old_log_newline_count >= log_newline_count)
- break;
- }
+ if (log_newline_count < 2) log("\n");
+ if (log_newline_count < 2) log("\n");
}
void log_push()