X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fpbd%2Fsemutils.cc;h=cf7b54d30e2babd036853a29ebc87d2e284e48f1;hb=e97b7bb924bd4ae6a7ca2f3c1e19dafd5294718f;hp=e5e5898218aad97b34cf259a326b55a668f8fecb;hpb=aaabaf5d3c8624f398809bb468e2b121a23abda0;p=ardour.git diff --git a/libs/pbd/semutils.cc b/libs/pbd/semutils.cc index e5e5898218..cf7b54d30e 100644 --- a/libs/pbd/semutils.cc +++ b/libs/pbd/semutils.cc @@ -40,6 +40,8 @@ ProcessSemaphore::ProcessSemaphore (const char* name, int val) } #else + (void) name; /* stop gcc warning on !Apple systems */ + if (sem_init (&_sem, 0, val)) { throw failed_constructor (); }