diff options
author | Quentin Carbonneaux <quentin@c9x.me> | 2019-04-17 22:21:46 +0200 |
---|---|---|
committer | Quentin Carbonneaux <quentin@c9x.me> | 2019-04-17 22:21:46 +0200 |
commit | ff4e5aab2c44fe5ec996594482a0967e95b54984 (patch) | |
tree | 8b80a9eefe2dc7064383d44b073a4ab278d7dc4f /amd64 | |
parent | 60142f5d9b02889b9c628d4e7c7dff9cdae5ed2e (diff) | |
download | roux-ff4e5aab2c44fe5ec996594482a0967e95b54984.tar.gz |
avoid some gcc warnings
In this case, the potential truncations flagged by gcc are only affecting debug information.
Diffstat (limited to 'amd64')
-rw-r--r-- | amd64/sysv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/amd64/sysv.c b/amd64/sysv.c index 86c59bf..ea9b2d2 100644 --- a/amd64/sysv.c +++ b/amd64/sysv.c @@ -493,7 +493,7 @@ split(Fn *fn, Blk *b) idup(&bn->ins, curi, bn->nins); curi = &insb[NIns]; bn->visit = ++b->visit; - snprintf(bn->name, NString, "%s.%d", b->name, b->visit); + (void)!snprintf(bn->name, NString, "%s.%d", b->name, b->visit); bn->loop = b->loop; bn->link = b->link; b->link = bn; |