aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers
diff options
context:
space:
mode:
authorzeising <zeising@FreeBSD.org>2013-08-14 19:58:48 +0800
committerzeising <zeising@FreeBSD.org>2013-08-14 19:58:48 +0800
commitb662881f85ad5b9ab3888be10a21eb01c6257f4d (patch)
tree90b50d603b396eb9166ec2701cddd1daee75386d /x11-servers
parent2cf58a4a0ebd7225245f4633ce033465c6d9f541 (diff)
downloadfreebsd-ports-gnome-b662881f85ad5b9ab3888be10a21eb01c6257f4d.tar.gz
freebsd-ports-gnome-b662881f85ad5b9ab3888be10a21eb01c6257f4d.tar.zst
freebsd-ports-gnome-b662881f85ad5b9ab3888be10a21eb01c6257f4d.zip
Plug two more use before initialized with the new x server.
Noted by: clang Obtained from: xorg development repo
Diffstat (limited to 'x11-servers')
-rw-r--r--x11-servers/xorg-server/files/extra-clang23
1 files changed, 23 insertions, 0 deletions
diff --git a/x11-servers/xorg-server/files/extra-clang b/x11-servers/xorg-server/files/extra-clang
index 359e55e0b8f4..7f22a529561c 100644
--- a/x11-servers/xorg-server/files/extra-clang
+++ b/x11-servers/xorg-server/files/extra-clang
@@ -73,3 +73,26 @@
struct PointerBarrier *nearest = NULL;
double min_distance = INT_MAX; /* can't get higher than that in X anyway */
+--- hw/xfree86/parser/InputClass.c.orig 2013-07-04 11:45:42.139818164 +0200
++++ hw/xfree86/parser/InputClass.c 2013-07-04 11:46:29.034806839 +0200
+@@ -362,7 +362,8 @@
+ XF86ConfInputClassPtr prev;
+
+ while (ptr) {
+- xf86MatchGroup *group, *next;
++ xf86MatchGroup *group = NULL;
++ xf86MatchGroup *next;
+ char **list;
+
+ TestFree(ptr->identifier);
+--- hw/xfree86/loader/loadmod.c.orig 2013-07-04 11:48:11.160800614 +0200
++++ hw/xfree86/loader/loadmod.c 2013-07-04 11:48:32.000800157 +0200
+@@ -472,7 +472,7 @@
+ char **elem;
+ const char **subdirs;
+ const char **s;
+- PatternPtr patterns;
++ PatternPtr patterns = NULL;
+ PatternPtr p;
+ DIR *d;
+ struct dirent *dp;