[rtems commit] bsp/gen5200: Fix warning

Sebastian Huber sebh at rtems.org
Thu Sep 28 11:22:00 UTC 2017


Module:    rtems
Branch:    master
Commit:    610ffd7a32f5dd03a42b6b505bfcca599d56f31f
Changeset: http://git.rtems.org/rtems/commit/?id=610ffd7a32f5dd03a42b6b505bfcca599d56f31f

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep 28 13:17:15 2017 +0200

bsp/gen5200: Fix warning

Update #3122.

---

 c/src/lib/libbsp/powerpc/gen5200/console/console.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/gen5200/console/console.c b/c/src/lib/libbsp/powerpc/gen5200/console/console.c
index 705769d..76dcc0c 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/console/console.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/console/console.c
@@ -623,8 +623,6 @@ static void A_BSP_output_char(
   char c
 )
 {
-  char cr = '\r';
-
   /*
    *  If we are using U-Boot, then the console is already initialized
    *  and we can just poll bytes out at any time.



More information about the vc mailing list