]> pd.if.org Git - pdclib/commitdiff
Catching the unimplemented.
authorsolar <unknown>
Wed, 23 Sep 2009 18:38:15 +0000 (18:38 +0000)
committersolar <unknown>
Wed, 23 Sep 2009 18:38:15 +0000 (18:38 +0000)
functions/_PDCLIB/scan.c

index c9826109cd56e9fe6af0fa0cd3e5b86564e4a74c..2f59fa59cc405d49979da8123b7196caaf4de38f 100644 (file)
@@ -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;
     }