mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-01 13:17:21 +02:00
fix static analyzer error that is blocking CI
This commit is contained in:
parent
6e5c950141
commit
af07e169d5
@ -46,7 +46,7 @@ static int set_profile_state(const char *value)
|
||||
FILE *f = fopen(profile_path, "w");
|
||||
if (!f) {
|
||||
LOG_ERROR("Failed to open file for write %s\n", profile_path);
|
||||
retval = EXIT_FAILURE;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (fprintf(f, "%s\n", value) < 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user