From af07e169d58b574fac2a093296aa37605313bb2b Mon Sep 17 00:00:00 2001 From: Ehren Bendler Date: Thu, 1 May 2025 11:03:38 -0400 Subject: [PATCH] fix static analyzer error that is blocking CI --- util/platprofctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/platprofctl.c b/util/platprofctl.c index 3ca2a4a..f26abde 100644 --- a/util/platprofctl.c +++ b/util/platprofctl.c @@ -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) {