Skip to content

Commit af07e16

Browse files
ebendlerafayaz-feral
authored andcommitted
fix static analyzer error that is blocking CI
1 parent 6e5c950 commit af07e16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

util/platprofctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ static int set_profile_state(const char *value)
4646
FILE *f = fopen(profile_path, "w");
4747
if (!f) {
4848
LOG_ERROR("Failed to open file for write %s\n", profile_path);
49-
retval = EXIT_FAILURE;
49+
return EXIT_FAILURE;
5050
}
5151

5252
if (fprintf(f, "%s\n", value) < 0) {

0 commit comments

Comments
 (0)