From: solar Date: Wed, 23 Sep 2009 18:38:15 +0000 (+0000) Subject: Catching the unimplemented. X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=f5cd1e00e59d66868eadd424dec9aeca0312ce0f;p=fw%2Fpdclib Catching the unimplemented. git-svn-id: https://srv7.svn-repos.de/dev34/pdclib/trunk@374 546481bc-9713-0410-bf18-d3337bbf4a3e --- diff --git a/functions/_PDCLIB/scan.c b/functions/_PDCLIB/scan.c index c982610..2f59fa5 100644 --- a/functions/_PDCLIB/scan.c +++ b/functions/_PDCLIB/scan.c @@ -366,6 +366,9 @@ const char * _PDCLIB_scan( const char * spec, struct _PDCLIB_status_t * status ) /* ASSIGN( E_size | E_unsigned, unsigned size_t ); */ ASSIGN( E_ptrdiff, ptrdiff_t ); /* ASSIGN( E_ptrdiff | E_unsigned, unsigned ptrdiff_t ); */ + default: + puts( "UNSUPPORTED SCANF FLAG COMBINATION" ); + return NULL; } return spec; }