klibc-bot for Jim Meyering
2012-Jul-02 09:12 UTC
[klibc] [klibc:master] [MEMALLOC] Avoid clang warning about dead store to "size"
Commit-ID: d182c7440dd5cd9290f2fb8dd7bc0f9dc2c4cb83 Gitweb: http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=d182c7440dd5cd9290f2fb8dd7bc0f9dc2c4cb83 Author: Jim Meyering <meyering at redhat.com> AuthorDate: Fri, 8 Jul 2011 16:16:11 +0800 Committer: maximilian attems <max at stro.at> CommitDate: Mon, 2 Jul 2012 10:44:45 +0200 [klibc] [MEMALLOC] Avoid clang warning about dead store to "size" * src/memalloc.c (makestrspace): Remove dead store. Signed-off-by: Jim Meyering <meyering 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;
Seemingly Similar Threads
- [klibc:update-dash] dash: memalloc: Add growstackto helper
- [klibc:update-dash] dash: memalloc: Avoid looping in growstackto
- [klibc:master] [MEMALLOC] Avoid gcc warning: variable ' oldstackp' set but not used
- [PATCH] [MEMALLOC] remove unused variable
- [klibc:update-dash] [BUILTIN] Handle embedded NULs correctly in printf