From 62ee8c813a22690a258c23c4c0befab9174ea9b1 Mon Sep 17 00:00:00 2001 From: Martin Baute Date: Tue, 8 Mar 2016 08:16:08 +0100 Subject: [PATCH] Adding the _PDCLIB_UNREACHABLE default fixed warnings, but broke a test case. Rolled back, need to investigate. --- functions/stdio/_PDCLIB_print.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/functions/stdio/_PDCLIB_print.c b/functions/stdio/_PDCLIB_print.c index 8e2a68b..e832782 100644 --- a/functions/stdio/_PDCLIB_print.c +++ b/functions/stdio/_PDCLIB_print.c @@ -530,8 +530,6 @@ int _PDCLIB_print( const char * spec, struct _PDCLIB_status_t * status ) break; case E_intmax: value = va_arg( status->arg, uintmax_t ); - default: - _PDCLIB_UNREACHABLE; } if ( !int2base( value, status ) ) return -1; @@ -568,8 +566,6 @@ int _PDCLIB_print( const char * spec, struct _PDCLIB_status_t * status ) case E_intmax: value = va_arg( status->arg, intmax_t ); break; - default: - _PDCLIB_UNREACHABLE; } if (!int2base( value, status ) ) -- 2.40.0