diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2013-11-04 21:32:41 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2013-11-04 21:32:41 -0500 |
commit | 0cca2724311b8df9989dc46efad12bdbe05c3883 (patch) | |
tree | 263a41299101aa9de989192de2d62e113725d494 /libs/pbd/semutils.cc | |
parent | 342237bf9c71927b5b6017c527a2d54b5c8be250 (diff) |
try to fix various warnings from gcc when optimization flags are enabled
Diffstat (limited to 'libs/pbd/semutils.cc')
-rw-r--r-- | libs/pbd/semutils.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/pbd/semutils.cc b/libs/pbd/semutils.cc index 9ac5f60d35..48fdd249f6 100644 --- a/libs/pbd/semutils.cc +++ b/libs/pbd/semutils.cc @@ -35,6 +35,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 (); } |