svn commit: r324704 - head/x11-servers/xorg-server/files
Niclas Zeising
zeising at FreeBSD.org
Wed Aug 14 11:58:48 UTC 2013
Author: zeising
Date: Wed Aug 14 11:58:48 2013
New Revision: 324704
URL: http://svnweb.freebsd.org/changeset/ports/324704
Log:
Plug two more use before initialized with the new x server.
Noted by: clang
Obtained from: xorg development repo
Modified:
head/x11-servers/xorg-server/files/extra-clang
Modified: head/x11-servers/xorg-server/files/extra-clang
==============================================================================
--- head/x11-servers/xorg-server/files/extra-clang Wed Aug 14 11:53:17 2013 (r324703)
+++ head/x11-servers/xorg-server/files/extra-clang Wed Aug 14 11:58:48 2013 (r324704)
@@ -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;
More information about the svn-ports-all
mailing list