From 938a637d1fc33bc8ef14210d655c27d646ddc2d2 Mon Sep 17 00:00:00 2001 From: Jeff Hartmann Date: Tue, 7 Aug 2001 18:22:41 +0000 Subject: Avoid compiler warning about r_list being used uninitialized. --- linux/drm_bufs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux') 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; -- cgit v1.2.3