Commit 8d22fdd
committed
log: make WLOG macro a noop if logging disabled
even if logging is disabled, the strings are still
included in the binary. This is because the compiler
does not see that wolfSSH_Log() is compiled as a noop.
By making WLOG a noop if wolfSSH_Log is we reduce the
compiled so-file by ~50k (about 25%).1 parent 2a21844 commit 8d22fdd
2 files changed
+5
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11281 | 11281 | | |
11282 | 11282 | | |
11283 | 11283 | | |
| 11284 | + | |
11284 | 11285 | | |
11285 | 11286 | | |
11286 | 11287 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
85 | 88 | | |
86 | | - | |
| |||
0 commit comments