ERR: Remove warnings from tests

This commit is contained in:
Andy Cedilnik 2004-04-27 11:08:58 -04:00
parent 482eef7112
commit e76b103df7
2 changed files with 10 additions and 0 deletions

View File

@ -2,6 +2,11 @@
int main(int argc, char *argv[])
{
if ( argc < 2 )
{
fprintf(stderr, "Usage: %s <file>\n", argv[0]);
return 1;
}
FILE *fp = fopen(argv[1],"w");
fprintf(fp,"int generated() { return 3; }\n");

View File

@ -2,6 +2,11 @@
int main(int argc, char *argv[])
{
if ( argc < 2 )
{
fprintf(stderr, "Usage: %s <file>\n", argv[0]);
return 1;
}
FILE *fp = fopen(argv[1],"w");
fprintf(fp,"int wrapped() { return 5; }\n");