Clear off a few compiler warnings generated when pedantic warnings are switched on.

pull/4/head
Richard Barry 14 years ago
parent 87b97f5510
commit 5d3a35a1f3

@ -116,6 +116,8 @@ implementation will be called instead. */
extern void vApplicationExceptionRegisterDump( xPortRegisterDump *xRegisterDump ) __attribute__((weak)); extern void vApplicationExceptionRegisterDump( xPortRegisterDump *xRegisterDump ) __attribute__((weak));
void vApplicationExceptionRegisterDump( xPortRegisterDump *xRegisterDump ) void vApplicationExceptionRegisterDump( xPortRegisterDump *xRegisterDump )
{ {
( void ) xRegisterDump;
for( ;; ) for( ;; )
{ {
portNOP(); portNOP();

@ -71,6 +71,7 @@ back into the caller stack. */
#define portMINUS_CONTEXT_SIZE -136 #define portMINUS_CONTEXT_SIZE -136
#else #else
#define portCONTEXT_SIZE 132 #define portCONTEXT_SIZE 132
#define portMINUS_CONTEXT_SIZE -132
#endif #endif
/* Offsets from the stack pointer at which saved registers are placed. */ /* Offsets from the stack pointer at which saved registers are placed. */

Loading…
Cancel
Save