diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-11-16 17:47:06 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-11-16 17:47:06 +0000 |
commit | fd83f1687d2062041b36dead51fe880ea5ef4bed (patch) | |
tree | b98a238c04120591cabf70f0741519b3f72db666 | |
parent | 2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-fd83f1687d2062041b36dead51fe880ea5ef4bed.tar.bz2 |
2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/putk.c: Remove useless variable initialization
pointed out by clang.
-rw-r--r-- | cpukit/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/libcsupport/src/putk.c | 2 |
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); |