changeset 27983:9d1894ccd09f

Remove useless setting of frame_buffer to NULL as suggested by Reimar.
author diego
date Mon, 24 Nov 2008 08:43:13 +0000
parents b6be6109babd
children 21221fd6d994
files libvo/vo_fbdev.c libvo/vo_wii.c
diffstat 2 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_fbdev.c	Mon Nov 24 08:41:44 2008 +0000
+++ b/libvo/vo_fbdev.c	Mon Nov 24 08:43:13 2008 +0000
@@ -884,7 +884,7 @@
 
     fb_line_len = fb_finfo.line_length;
     fb_size     = fb_finfo.smem_len;
-    frame_buffer = NULL;
+
 #ifdef CONFIG_VIDIX
     if (vidix_name) {
         unsigned image_width, image_height, x_offset, y_offset;
--- a/libvo/vo_wii.c	Mon Nov 24 08:41:44 2008 +0000
+++ b/libvo/vo_wii.c	Mon Nov 24 08:43:13 2008 +0000
@@ -213,7 +213,6 @@
 
   fb_line_len = fb_finfo.line_length;
   fb_size     = fb_finfo.smem_len;
-  frame_buffer = NULL;
 
   frame_buffer = (uint8_t *) mmap(0, fb_size, PROT_READ | PROT_WRITE,
                                   MAP_SHARED, fb_dev_fd, 0);