mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-07 04:06:07 -05:00
box-drawing: drop ‘pragma GCC optimize(“Os”)’
“The optimize attribute should be used for debugging purposes only. It is not suitable in production code.” Luckily, it seems it really isn’t needed anymore; with all the other size optimizations that has been done since this was introduced, there is no longer any difference with or without this pragma.
This commit is contained in:
parent
c7a611fdf3
commit
0861e8d377
1 changed files with 0 additions and 4 deletions
|
|
@ -15,10 +15,6 @@
|
|||
#define LIGHT 1.0
|
||||
#define HEAVY 2.0
|
||||
|
||||
#if defined(__GNUC__)
|
||||
#pragma GCC optimize("Os")
|
||||
#endif
|
||||
|
||||
struct buf {
|
||||
uint8_t *data;
|
||||
int width;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue