]> pd.if.org Git - pdclib/blobdiff - functions/stdio/_cbprintf.c
RegTest defines no functions, resulting in 'unused variable' warnings. Fixed.
[pdclib] / functions / stdio / _cbprintf.c
index c0192fe0f331a581549c311517372a517e24c1fc..dedf84e5da558792c303b02c79a1bd0322c0c12e 100644 (file)
@@ -46,8 +46,8 @@ static size_t testcb( void *p, const char *buf, size_t size )
 
 int main( void )
 {
-    char target[100];
 #ifndef REGTEST
+    char target[100];
 #include "printf_testcases.h"
 #endif
     return TEST_RESULTS;