summaryrefslogtreecommitdiff
path: root/linux
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
parent51e38d96ead5700c25c4fddd8017dc7992e96f5a (diff)
Avoid compiler warning about r_list being used uninitialized.
Diffstat (limited to 'linux')
-rw-r--r--linux/drm_bufs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drm_bufs.h b/linux/drm_bufs.h
index e8c62dda..ec5dd543 100644
--- a/linux/drm_bufs.h
+++ b/linux/drm_bufs.h
@@ -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;