fix compiler warnings regarding too many arguments for c print statements#37
Conversation
HaymanConsulting
left a comment
There was a problem hiding this comment.
Perhaps for those lines where r->name was included but not used, the intended implementation was:
fprintf(fp, ".... ! %s\n", r->name);
instead of what is currently found in the code:
fprintf(fp, "...\n", r->name);
|
I think the input argument in these lines was a mistake. This is one of the modified blocks with the lines in question denoted by In this case, the generated code is using a variable In another block these arrays are to be deallocated, so the It seems like someone copied and modified another line but forgot to remove the extra argument. |
|
@rafaelmudafort is correct. Those are extraneous arguments. |
The
fprintf(...statements in the fast registry module generator have too many arguments. In most cases, no arguments were needed butr->namewas given.