Displaying 1 result from an estimated 1 matches for "d8e4413".
Did you mean:
d8e4413d
2012 Jul 02
0
[klibc:master] [MEMALLOC] Avoid clang warning about dead store to "size"
...ing at redhat.com>
Signed-off-by: Herbert Xu <herbert at gondor.apana.org.au>
Signed-off-by: maximilian attems <max at stro.at>
---
usr/dash/memalloc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/usr/dash/memalloc.c b/usr/dash/memalloc.c
index 9fea067..d8e4413 100644
--- a/usr/dash/memalloc.c
+++ b/usr/dash/memalloc.c
@@ -273,7 +273,7 @@ char *
makestrspace(size_t newlen, char *p)
{
size_t len = p - stacknxt;
- size_t size = stackblocksize();
+ size_t size;
for (;;) {
size_t nleft;