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:
Daniel Eklöf 2021-01-02 17:47:47 +01:00
parent c7a611fdf3
commit 0861e8d377
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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;