diff options
author | Jeff Hartmann <jhartmann@valinux.com> | 2001-08-07 18:22:41 +0000 |
---|---|---|
committer | Jeff Hartmann <jhartmann@valinux.com> | 2001-08-07 18:22:41 +0000 |
commit | 938a637d1fc33bc8ef14210d655c27d646ddc2d2 (patch) | |
tree | 055e3a396cf4efc06519201689136540c3d6c9ef /linux-core | |
parent | 51e38d96ead5700c25c4fddd8017dc7992e96f5a (diff) |
Avoid compiler warning about r_list being used uninitialized.
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drm_bufs.c | 2 |
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; |