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 /arm64/abi.c | |
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 'arm64/abi.c')
-rw-r--r-- | arm64/abi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arm64/abi.c b/arm64/abi.c index 846ac87..8bc9c20 100644 --- a/arm64/abi.c +++ b/arm64/abi.c @@ -488,7 +488,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; |