From 21b8885fe98e30f190b811ee032252d0b26250d7 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sun, 7 Jun 2020 18:18:58 +0200 Subject: [PATCH] Remove debug output (also fix some builds, missing stdio.h) --- libs/pbd/pthread_utils.cc | 3 --- 1 file changed, 3 deletions(-) diff --git a/libs/pbd/pthread_utils.cc b/libs/pbd/pthread_utils.cc index 918176ed8e..2a88360f69 100644 --- a/libs/pbd/pthread_utils.cc +++ b/libs/pbd/pthread_utils.cc @@ -252,9 +252,6 @@ static size_t pbd_stack_size () pthread_attr_t attr; pthread_attr_init(&attr); rv = __pthread_get_minstack(&attr); -#ifndef NDEBUG - printf("TLS of parent thread: %zd Bytes (pthread min-stack: %zu)\n", rv, pt_min_stack); -#endif assert (rv >= pt_min_stack); rv -= pt_min_stack; pthread_attr_destroy(&attr);