Avoid compiler warning about r_list being used uninitialized.

main
Jeff Hartmann 2001-08-07 18:22:41 +00:00
parent 51e38d96ea
commit 938a637d1f
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;