OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmo-abis?expand=0&rev=2
39 lines
1.2 KiB
Diff
39 lines
1.2 KiB
Diff
From 4b6860db447ffb3997acd7394ea822f29303e797 Mon Sep 17 00:00:00 2001
|
|
From: Holger Hans Peter Freyther <zecke@selfish.org>
|
|
Date: Sat, 9 Mar 2013 17:32:33 +0100
|
|
Subject: [PATCH 1/2] lapd: Do not override t203_sec initialization.
|
|
|
|
This was spotted by clang3.3 and got broken in git revision
|
|
f42280b6a235163ab935abc9fd36b60716d7a460 when moving to the
|
|
C99 initializer.
|
|
|
|
Warning:
|
|
input/lapd.c:106:30: warning: initializer overrides prior initialization of this subobject
|
|
[-Winitializer-overrides]
|
|
.t203_sec = 20, .t203_sec = 0,
|
|
^
|
|
input/lapd.c:106:14: note: previous initialization is here
|
|
.t203_sec = 20, .t203_sec = 0,
|
|
^~
|
|
1 warning generated.
|
|
---
|
|
src/input/lapd.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/input/lapd.c b/src/input/lapd.c
|
|
index bced94a..ac24fd8 100644
|
|
--- a/src/input/lapd.c
|
|
+++ b/src/input/lapd.c
|
|
@@ -103,7 +103,7 @@ const struct lapd_profile lapd_profile_sat = {
|
|
.t200_sec = 2, .t200_usec = 400000,
|
|
.t201_sec = 2, .t201_usec = 400000,
|
|
.t202_sec = 2, .t202_usec = 400000,
|
|
- .t203_sec = 20, .t203_sec = 0,
|
|
+ .t203_sec = 20, .t203_usec = 0,
|
|
.short_address = 1
|
|
};
|
|
|
|
--
|
|
1.8.2
|
|
|