From fd83f1687d2062041b36dead51fe880ea5ef4bed Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 16 Nov 2010 17:47:06 +0000 Subject: [PATCH] 2010-11-16 Joel Sherrill * libcsupport/src/putk.c: Remove useless variable initialization pointed out by clang. --- cpukit/ChangeLog | 5 +++++ cpukit/libcsupport/src/putk.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 5f307d3670..894aef29fd 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,8 @@ +2010-11-16 Joel Sherrill + + * libcsupport/src/putk.c: Remove useless variable initialization + pointed out by clang. + 2010-11-11 Sebastian Huber * score/include/rtems/score/userext.h: Documentation. diff --git a/cpukit/libcsupport/src/putk.c b/cpukit/libcsupport/src/putk.c index 71ccc9931e..d804cf05e8 100644 --- a/cpukit/libcsupport/src/putk.c +++ b/cpukit/libcsupport/src/putk.c @@ -22,7 +22,7 @@ */ void putk(const char *s) { - const char *p = s; + const char *p; for (p=s ; *p ; p++ ) BSP_output_char(*p);