aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2012-08-08 15:26:49 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-08-08 15:26:49 -0700
commit80bcb4893058be698bae1bef59c4b28edda6c744 (patch)
treef28cfbcefdc5dae24bbf80aa03ed5e7b037adc8e
parentef3f7fa32b451bd6f180c4c1586a98cee41aa296 (diff)
parent8bcfb8bcfffb1a5b3f81dd09f061d452c8508e8a (diff)
downloadsystem_core-80bcb4893058be698bae1bef59c4b28edda6c744.tar.gz
system_core-80bcb4893058be698bae1bef59c4b28edda6c744.tar.bz2
system_core-80bcb4893058be698bae1bef59c4b28edda6c744.zip
Merge "Fixed un-initialized variable warnings"
-rw-r--r--sh/eval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sh/eval.c b/sh/eval.c
index 9acfd648..4eb7ded6 100644
--- a/sh/eval.c
+++ b/sh/eval.c
@@ -687,14 +687,14 @@ evalcommand(union node *cmd, int flags, struct backcmd *backcmd)
struct cmdentry cmdentry;
struct job *jp;
struct jmploc jmploc;
- struct jmploc *volatile savehandler;
+ struct jmploc *volatile savehandler = 0;
char *volatile savecmdname;
volatile struct shparam saveparam;
struct localvar *volatile savelocalvars;
volatile int e;
char *lastarg;
const char *path = pathval();
- volatile int temp_path;
+ volatile int temp_path = 0;
#if __GNUC__
/* Avoid longjmp clobbering */
(void) &argv;