]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
remove unused function
authorAlan T. DeKok <aland@freeradius.org>
Tue, 12 Jan 2021 21:22:22 +0000 (16:22 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 12 Jan 2021 21:22:22 +0000 (16:22 -0500)
src/lib/server/cond_eval.c

index 0a2c1fe9f058eb3b31d772086c3cd695339b8cbe..aa9a35537dc047f8ed0ed624a2093acb064dbfbb 100644 (file)
@@ -254,31 +254,6 @@ static int cond_do_regex(request_t *request, fr_cond_t const *c,
 }
 #endif
 
-#ifdef WITH_EVAL_DEBUG
-static void cond_print_operands(fr_value_box_t const *lhs, fr_value_box_t const *rhs)
-{
-       if (lhs) {
-               if (lhs->type == FR_TYPE_STRING) {
-                       EVAL_DEBUG("LHS: \"%pV\" (%zu)" , &lhs->datum, lhs->vb_length);
-               } else {
-                       EVAL_DEBUG("LHS: 0x%pH (%zu)", &lhs->datum, lhs->vb_length);
-               }
-       } else {
-               EVAL_DEBUG("LHS: VIRTUAL");
-       }
-
-       if (rhs) {
-               if (rhs->type == FR_TYPE_STRING) {
-                       EVAL_DEBUG("RHS: \"%pV\" (%zu)", &rhs->datum, rhs->vb_length);
-               } else {
-                       EVAL_DEBUG("RHS: 0x%pH (%zu)", &rhs->datum, rhs->vb_length);
-               }
-       } else {
-               EVAL_DEBUG("RHS: COMPILED");
-       }
-}
-#endif
-
 static size_t regex_escape(UNUSED request_t *request, char *out, size_t outlen, char const *in, UNUSED void *arg)
 {
        char *p = out;