Fix FTBFS with clang (Closes: #739561
Roberto C. Sanchez
10 years ago
1 | 1 |
|
2 | 2 |
* saslauthd: refuse to start if debug option (-d) is set in options
|
3 | 3 |
passed to init script (Closes: #558014)
|
|
4 |
* Fix FTBFS with clang (Closes: #739561
|
4 | 5 |
|
5 | 6 |
-- Roberto C. Sanchez <roberto@connexer.com> Tue, 18 Feb 2014 19:19:21 -0500
|
6 | 7 |
|
|
0 |
Author: Arthur Marble <arthur@info9.net>
|
|
1 |
Description: Eliminate return value in a function specified to return void (Closes: #739561)
|
|
2 |
--- cyrus-sasl2.git.orig/lib/common.c
|
|
3 |
+++ cyrus-sasl2.git/lib/common.c
|
|
4 |
@@ -841,7 +841,7 @@
|
|
5 |
|
|
6 |
if (!free_mutex || free_mutex == 0x1)
|
|
7 |
free_mutex = sasl_MUTEX_ALLOC();
|
|
8 |
- if (!free_mutex) return SASL_FAIL;
|
|
9 |
+ if (!free_mutex) return;
|
|
10 |
|
|
11 |
result = sasl_MUTEX_LOCK(free_mutex);
|
|
12 |
if (result!=SASL_OK) return;
|
26 | 26 |
0043_types_h.patch
|
27 | 27 |
0044_debug_log_typo_fix.patch
|
28 | 28 |
0045_revert_upstream_soname_bump.patch
|
|
29 |
0046_fix_void_return.patch
|