summaryrefslogtreecommitdiff
path: root/linux-core
diff options
context:
space:
mode:
authorJeff Hartmann <jhartmann@valinux.com>2001-08-07 18:22:41 +0000
committerJeff Hartmann <jhartmann@valinux.com>2001-08-07 18:22:41 +0000
commit938a637d1fc33bc8ef14210d655c27d646ddc2d2 (patch)
tree055e3a396cf4efc06519201689136540c3d6c9ef /linux-core
parent51e38d96ead5700c25c4fddd8017dc7992e96f5a (diff)
Avoid compiler warning about r_list being used uninitialized.
Diffstat (limited to 'linux-core')
-rw-r--r--linux-core/drm_bufs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/drm_bufs.c b/linux-core/drm_bufs.c
index e8c62dda..ec5dd543 100644
--- a/linux-core/drm_bufs.c
+++ b/linux-core/drm_bufs.c
@@ -196,7 +196,7 @@ int DRM(rmmap)(struct inode *inode, struct file *filp,
drm_file_t *priv = filp->private_data;
drm_device_t *dev = priv->dev;
struct list_head *list;
- drm_map_list_t *r_list;
+ drm_map_list_t *r_list = NULL;
drm_vma_entry_t *pt, *prev;
drm_map_t *map;
drm_map_t request;