[Crosstoolchain-logs] [device-tree-compiler] 164/357: Quiet a bogus "May be used uninitialized" warning.
Hector Oron
zumbi at moszumanska.debian.org
Thu Dec 8 17:06:09 UTC 2016
This is an automated email from the git hooks/post-receive script.
zumbi pushed a commit to branch upstream/1.3.x
in repository device-tree-compiler.
commit 2d50f8f9dd504f2a7b7662edd47419ad0e4c21a5
Author: Jon Loeliger <jdl at freescale.com>
Date: Thu Oct 18 09:46:52 2007 -0500
Quiet a bogus "May be used uninitialized" warning.
Signed-off-by: Jon Loeliger <jdl at freescale.com>
---
flattree.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/crosstoolchain/device-tree-compiler.git
More information about the Crosstoolchain-logs
mailing list