summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 17:47:06 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-11-16 17:47:06 +0000
commitfd83f1687d2062041b36dead51fe880ea5ef4bed (patch)
treeb98a238c04120591cabf70f0741519b3f72db666 /cpukit
parent2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-fd83f1687d2062041b36dead51fe880ea5ef4bed.tar.bz2
2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/putk.c: Remove useless variable initialization pointed out by clang.
Diffstat (limited to 'cpukit')
-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);