]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove redundant line
authorAlan T. DeKok <aland@freeradius.org>
Thu, 28 Sep 2023 20:46:36 +0000 (16:46 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 28 Sep 2023 20:46:36 +0000 (16:46 -0400)
src/lib/util/log.c

index da79ff50c484188635ebcca6d9b1b415702195e4..32dfa25fa4a61af5d217be6fb89c5af1f8947ab0 100644 (file)
@@ -678,7 +678,6 @@ void fr_vlog_perror(fr_log_t const *log, fr_log_type_t type, char const *file, i
        if (error && (fmt || f_rules->first_prefix)) {
                if (fmt) (void) fr_sbuff_in_strcpy(&sbuff, ": ");
                (void) fr_sbuff_in_strcpy(&sbuff, error);
-               error = fr_sbuff_start(&sbuff);         /* may not be talloced with const */
        }
 
        error = fr_sbuff_start(&sbuff);         /* may not be talloced with const */