summaryrefslogtreecommitdiffstats
path: root/client/pool-buffer.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2019-01-22 11:04:56 -0500
committerLibravatar GitHub <noreply@github.com>2019-01-22 11:04:56 -0500
commit04aa41de340b82d4eccc5c0c86fa6f9c178b72d5 (patch)
tree75c61907f094838e23899231ec5ec955c530f692 /client/pool-buffer.c
parentMerge pull request #3494 from ianyfan/commands (diff)
parentFix dead stores found by scan-build (diff)
downloadsway-04aa41de340b82d4eccc5c0c86fa6f9c178b72d5.tar.gz
sway-04aa41de340b82d4eccc5c0c86fa6f9c178b72d5.tar.zst
sway-04aa41de340b82d4eccc5c0c86fa6f9c178b72d5.zip
Merge pull request #3496 from mstoeckl/fix-san
Fix dead stores found by scan-build
Diffstat (limited to 'client/pool-buffer.c')
-rw-r--r--client/pool-buffer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/client/pool-buffer.c b/client/pool-buffer.c
index 588bd06c..836c6b13 100644
--- a/client/pool-buffer.c
+++ b/client/pool-buffer.c
@@ -85,7 +85,6 @@ static struct pool_buffer *create_buffer(struct wl_shm *shm,
85 close(fd); 85 close(fd);
86 unlink(name); 86 unlink(name);
87 free(name); 87 free(name);
88 fd = -1;
89 88
90 buf->size = size; 89 buf->size = size;
91 buf->width = width; 90 buf->width = width;