summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog5
-rw-r--r--cpukit/libcsupport/src/putk.c2
2 files changed, 6 insertions, 1 deletions
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 <joel.sherrill@oarcorp.com>
+
+ * libcsupport/src/putk.c: Remove useless variable initialization
+ pointed out by clang.
+
2010-11-11 Sebastian Huber <sebastian.huber@embedded-brains.de>
* 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);