]> git.sur5r.net Git - freertos/commitdiff
Clear off a few compiler warnings generated when pedantic warnings are switched on.
authorrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 27 Jul 2011 12:02:08 +0000 (12:02 +0000)
committerrichardbarry <richardbarry@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>
Wed, 27 Jul 2011 12:02:08 +0000 (12:02 +0000)
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1505 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemoSource/FreeRTOS_Source/portable/GCC/MicroBlaze/port_exceptions.c
Demo/MicroBlaze_Spartan-6_EthernetLite/SDKProjects/RTOSDemoSource/FreeRTOS_Source/portable/GCC/MicroBlaze/portasm.S

index 2ebfe8bd1e22bb770c672b277589750d70eb8fc6..f5ed3c98558e9687f5084f57b55bcb6e04f2ff0e 100644 (file)
@@ -116,6 +116,8 @@ implementation will be called instead. */
 extern void vApplicationExceptionRegisterDump( xPortRegisterDump *xRegisterDump ) __attribute__((weak));\r
 void vApplicationExceptionRegisterDump( xPortRegisterDump *xRegisterDump )\r
 {\r
+       ( void ) xRegisterDump;\r
+\r
        for( ;; )\r
        {\r
                portNOP();\r
index 801504a806cbbef82c20f51a2747c2f2a3aa6742..8d99520b2142b9e0a1cf75c4f40c6ab0c7dcf604 100644 (file)
@@ -71,6 +71,7 @@ back into the caller stack. */
        #define portMINUS_CONTEXT_SIZE -136\r
 #else\r
        #define portCONTEXT_SIZE 132\r
+       #define portMINUS_CONTEXT_SIZE -132\r
 #endif\r
 \r
 /* Offsets from the stack pointer at which saved registers are placed. */\r