summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch')
-rw-r--r--meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch9
1 files changed, 3 insertions, 6 deletions
diff --git a/meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch b/meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch
index 77a394d556..2559ab7b31 100644
--- a/meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch
+++ b/meta-oe/recipes-support/xrdp/xrdp/0001-mark-count-with-unused-attribute.patch
@@ -1,4 +1,4 @@
1From 492f74dbea1d9a15fbc3e870e78ab52e7fc5583b Mon Sep 17 00:00:00 2001 1From 23638d0ec23c2658a4e98321c20a4a2ac9294fb2 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 31 Aug 2022 20:19:32 -0700 3Date: Wed, 31 Aug 2022 20:19:32 -0700
4Subject: [PATCH] mark count with unused attribute 4Subject: [PATCH] mark count with unused attribute
@@ -14,7 +14,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
14 1 file changed, 1 insertion(+), 1 deletion(-) 14 1 file changed, 1 insertion(+), 1 deletion(-)
15 15
16diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c 16diff --git a/sesman/chansrv/chansrv.c b/sesman/chansrv/chansrv.c
17index 4452d998..b818bff3 100644 17index d66310b..eeb5921 100644
18--- a/sesman/chansrv/chansrv.c 18--- a/sesman/chansrv/chansrv.c
19+++ b/sesman/chansrv/chansrv.c 19+++ b/sesman/chansrv/chansrv.c
20@@ -195,7 +195,7 @@ check_timeout(void) 20@@ -195,7 +195,7 @@ check_timeout(void)
@@ -24,8 +24,5 @@ index 4452d998..b818bff3 100644
24- int count; 24- int count;
25+ int count __attribute__((unused)); 25+ int count __attribute__((unused));
26 tui32 now; 26 tui32 now;
27 27 UNUSED_VAR(count);
28 LOG_DEVEL(LOG_LEVEL_DEBUG, "check_timeout:"); 28 LOG_DEVEL(LOG_LEVEL_DEBUG, "check_timeout:");
29--
302.37.3
31