[PATCH 2/4] DTC: Quiet a bogus "May be used uninitialized" warning.
Jon Loeliger
jdl at jdl.com
Sat Oct 20 03:42:58 EST 2007
Signed-off-by: Jon Loeliger <jdl at freescale.com>
---
flattree.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/flattree.c b/flattree.c
index a26e71b..5889900 100644
--- a/flattree.c
+++ b/flattree.c
@@ -136,7 +136,7 @@ static void asm_emit_cell(void *e, cell_t val)
static void asm_emit_string(void *e, char *str, int len)
{
FILE *f = e;
- char c;
+ char c = 0;
if (len != 0) {
/* XXX: ewww */
--
1.5.3.1.139.g9346b
More information about the Linuxppc-dev
mailing list