diff options
author | zeising <zeising@FreeBSD.org> | 2013-08-14 19:58:48 +0800 |
---|---|---|
committer | zeising <zeising@FreeBSD.org> | 2013-08-14 19:58:48 +0800 |
commit | b662881f85ad5b9ab3888be10a21eb01c6257f4d (patch) | |
tree | 90b50d603b396eb9166ec2701cddd1daee75386d /x11-servers | |
parent | 2cf58a4a0ebd7225245f4633ce033465c6d9f541 (diff) | |
download | freebsd-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-clang | 23 |
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; |