summaryrefslogtreecommitdiff
path: root/www-client/w3mmee/files/w3mmee-display.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2025-03-11 01:49:36 +0000
committerV3n3RiX <venerix@koprulu.sector>2025-03-11 01:49:36 +0000
commitcf7807d7aea23a99a144afceaba961cfed652b5f (patch)
treeffd2c781c27e0b7e72152a685a04938a2b7966f0 /www-client/w3mmee/files/w3mmee-display.patch
parent7c5ebaf83da4c538dd11b56fdd5dfdf39dcbc096 (diff)
gentoo auto-resync : 11:03:2025 - 01:49:36HEADmaster
Diffstat (limited to 'www-client/w3mmee/files/w3mmee-display.patch')
-rw-r--r--www-client/w3mmee/files/w3mmee-display.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/www-client/w3mmee/files/w3mmee-display.patch b/www-client/w3mmee/files/w3mmee-display.patch
new file mode 100644
index 000000000000..fe7e7efc2c6d
--- /dev/null
+++ b/www-client/w3mmee/files/w3mmee-display.patch
@@ -0,0 +1,26 @@
+Fixes QA warning, pr is unused, so it's safe to remove
+
+ * QA Notice: Package triggers severe warnings which indicate that it
+ * may exhibit random runtime failures.
+ * display.c:1253:2: warning: variable 'pr' is uninitialized when used here [-Wuninitialized]
+diff --git a/display.c b/display.c
+index c8640a9..5c48e17 100644
+--- a/display.c
++++ b/display.c
+@@ -1132,7 +1132,7 @@ redrawForm(Buffer *buf, Anchor *a, Line *l, int pos,
+ FormItemList *fi;
+ int i, j, n, ctype, delta, bcol, ncol, epos;
+ char *p;
+- Lineprop *pr, prop;
++ Lineprop prop;
+ #ifdef USE_ANSI_COLOR
+ Linecolor *pc;
+ #endif
+@@ -1250,7 +1250,6 @@ redrawForm(Buffer *buf, Anchor *a, Line *l, int pos,
+ #endif
+ j = ncol;
+ p += delta;
+- pr += delta;
+ #ifdef USE_ANSI_COLOR
+ pc += delta;
+ #endif