Skip to content

Commit

Permalink
file.cc - silenced warnings re: unused function return values
Browse files Browse the repository at this point in the history
  • Loading branch information
notestaff committed Mar 22, 2016
1 parent d0b3375 commit 78be24f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cosi/file.cc
Original file line number Diff line number Diff line change
Expand Up @@ -322,9 +322,9 @@ ParamFileReader::file_get_data (FILE *fileptr, FILE *segfp)
break;
default:
ungetc(c, fileptr);
fscanf(fileptr, "%s", var);
(void)fscanf(fileptr, "%s", var);
file_killwhitespace(fileptr);
fgets(buffer, BUF_MAX, fileptr);
(void)fgets(buffer, BUF_MAX, fileptr);
//strcat( buffer, " " ); // make sure no error if eof
try {
try { file_proc_buff(var, buffer, segfp); }
Expand Down

0 comments on commit 78be24f

Please sign in to comment.