]> Kevux Git Server - fll/commitdiff
Cleanup: Use const for fake_make_get_id_mode() return status.
authorKevin Day <thekevinday@gmail.com>
Sat, 1 Jan 2022 02:54:49 +0000 (20:54 -0600)
committerKevin Day <thekevinday@gmail.com>
Sat, 1 Jan 2022 02:54:49 +0000 (20:54 -0600)
level_3/fake/c/private-make.c

index c6613931530051854b4dfd1bb115fa44213a80e2..ddd39e463c0333b2a461b3b0a311c4085b88dcb3 100644 (file)
@@ -113,7 +113,7 @@ extern "C" {
       return F_status_set_error(F_parameter);
     }
 
-    f_status_t status = f_file_mode_from_string(buffer.string, main->umask, mode, replace);
+    const f_status_t status = f_file_mode_from_string(buffer.string, main->umask, mode, replace);
 
     if (F_status_is_error(status)) {
       if (main->error.verbosity != f_console_verbosity_quiet_e) {