Re: Problem Debugging C Program



Ben Pfaff wrote:
John Hanley <hanley@xxxxxxxxxxx> writes:

Sounds good. In the meantime, here is the code if you have the time to
take a peek at it.

Here's one problem:

blp@blp:~(1)$ gcc -Wall foo.c
foo.c: In function 'extract_records':
foo.c:472: warning: unused variable 'max_fields'
foo.c: In function 'main':
foo.c:613: warning: format '%s' expects type 'char *', but argument 3 has type 'struct FILE *'


I cleared both of these out and still no dice.
.