Displaying 2 results from an estimated 2 matches for "e75e609".
2011 Nov 30
1
[PATCH] [MEMALLOC] remove unused variable
...'oldstackp' local variable has been
unused. This change deletes the unused variable.
Signed-off-by: Greg Thelen <gthelen at google.com>
---
usr/dash/memalloc.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/usr/dash/memalloc.c b/usr/dash/memalloc.c
index e75e609..406d0c8 100644
--- a/usr/dash/memalloc.c
+++ b/usr/dash/memalloc.c
@@ -213,13 +213,11 @@ growstackblock(void)
newlen += 128;
if (stacknxt == stackp->space && stackp != &stackbase) {
- struct stack_block *oldstackp;
struct stack_block *sp;
struct stack_block *prevstackp...
2012 Jul 02
0
[klibc:master] [MEMALLOC] Avoid gcc warning: variable ' oldstackp' set but not used
...t;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 | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/usr/dash/memalloc.c b/usr/dash/memalloc.c
index e75e609..9fea067 100644
--- a/usr/dash/memalloc.c
+++ b/usr/dash/memalloc.c
@@ -206,20 +206,18 @@ growstackblock(void)
{
size_t newlen;
- newlen = stacknleft * 2;
+ newlen = stacknleft * 2;
if (newlen < stacknleft)
sh_error("Out of space");
if (newlen < 128)
newlen += 128;...