diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2019-12-23 09:35:11 -0800 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2019-12-23 09:35:11 -0800 |
commit | fbd4c9cc4f101cf2dacb3521517facfbd36c41ac (patch) | |
tree | 97daab617b99b83a91cd9b1a88a0e5d5e6703a08 /main.c | |
parent | ed5a276f9b8a5da636e5cda4f3e33a54b0382bdf (diff) | |
download | christmas_lights-fbd4c9cc4f101cf2dacb3521517facfbd36c41ac.tar.gz christmas_lights-fbd4c9cc4f101cf2dacb3521517facfbd36c41ac.tar.xz |
make gcc shut up
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -11,7 +11,10 @@ static struct colour seq[6]; static bool interrupted = false; void red_green() { +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wmemset-elt-size" memset(seq, 0, 2 * sizeof(seq[0])); +#pragma GCC diagnostic pop seq[0].r = 255; seq[1].g = 255; |