]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
add missing "return"
authorAlan T. DeKok <aland@freeradius.org>
Wed, 15 Apr 2020 12:52:56 +0000 (08:52 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 15 Apr 2020 12:53:18 +0000 (08:53 -0400)
to avoid messages being printed twice.

src/lib/util/debug.c

index cdb425c9511a08dc8b9d3992469bc2e9283955af..5fb20cb39f08aa78afb55e501284717bbbfdc4d3 100644 (file)
@@ -1340,6 +1340,7 @@ bool _fr_assert_fail(char const *file, int line, char const *expr, char const *m
 #else
                FR_FAULT_LOG("ASSERT WOULD FAIL %s[%u]: %s: %s", file, line, expr, str);
 #endif
+               return false;
        }
 
 #ifndef NDEBUG