-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
goto
to close files in read files
- Replaced instances of `return` with `goto` and created a target of said goto at the end of the functions - Removed check for existing file in `read_swc_hist()` since `OpenFile()` already reports if it does not exist - Replaced call to `fclose()` in `read_weather_hist()` with `CloseFile()` which already checks if closing the file results in EOF
- Loading branch information
1 parent
2fa7c5a
commit 6964cfb
Showing
13 changed files
with
170 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.