Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xf86-video-intel/dist/src/uxa avoid using an ...
details: https://anonhg.NetBSD.org/xsrc/rev/c80d6d5d567e
branches: trunk
changeset: 10072:c80d6d5d567e
user: mrg <mrg%NetBSD.org@localhost>
date: Thu Jan 03 09:00:22 2019 +0000
description:
avoid using an uninitialised variable.
diffstat:
external/mit/xf86-video-intel/dist/src/uxa/intel_display.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 0864efd093b4 -r c80d6d5d567e external/mit/xf86-video-intel/dist/src/uxa/intel_display.c
--- a/external/mit/xf86-video-intel/dist/src/uxa/intel_display.c Wed Jan 02 22:05:24 2019 +0000
+++ b/external/mit/xf86-video-intel/dist/src/uxa/intel_display.c Thu Jan 03 09:00:22 2019 +0000
@@ -2079,7 +2079,7 @@
#if HAVE_NOTIFY_FD
static void drmmode_notify_fd(int fd, int notify, void *data)
{
- struct intel_mode *mode;
+ struct intel_mode *mode = data;
drmHandleEvent(fd, &mode->event_context);
}
Home |
Main Index |
Thread Index |
Old Index