Module: xenomai-forge
Branch: next
Commit: 7d5fa6973a57ac7a635d769ea8ed19e5b30d5126
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=7d5fa6973a57ac7a635d769ea8ed19e5b30d5126

Author: Philippe Gerum <r...@xenomai.org>
Date:   Mon Jun 30 21:30:53 2014 +0200

lib/smokey: silence spurious warning with codesourcery 2009q1

---

 lib/smokey/init.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/smokey/init.c b/lib/smokey/init.c
index 88310b7..8c39011 100644
--- a/lib/smokey/init.c
+++ b/lib/smokey/init.c
@@ -128,7 +128,7 @@ static int resolve_id(const char *s)
 
 static int build_test_list(const char *test_enum)
 {
-       char *s = strdup(test_enum), *n, *range, *range_p, *id, *id_r;
+       char *s = strdup(test_enum), *n, *range, *range_p = NULL, *id, *id_r;
        int start, end;
 
        n = s;


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to