Skip to content

Commit

Permalink
⚡ Removed Duplicated fclose calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
omegaui committed Jan 9, 2024
1 parent 60cab34 commit 9d44a04
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion linux/my_application.cc
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ int readMonitorIndex() {
int monitorIndex = 0;
if (fscanf(file, "%d", &monitorIndex) != 1) {
fprintf(stderr, "Error reading monitor index from file: %s\n", configFile);
fclose(file);
}

// Close the file
Expand Down

0 comments on commit 9d44a04

Please sign in to comment.