changeset 20196:08c72bfa73e3

Remove dead code (condition can obviously never be true)
author reimar
date Fri, 13 Oct 2006 20:01:38 +0000
parents 32a550c28268
children acc196e4b3cc
files libvo/vo_x11.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_x11.c	Fri Oct 13 19:07:11 2006 +0000
+++ b/libvo/vo_x11.c	Fri Oct 13 20:01:38 2006 +0000
@@ -171,8 +171,6 @@
                             &Shminfo[0], image_width, image_height);
         if (myximage == NULL)
         {
-            if (myximage != NULL)
-                XDestroyImage(myximage);
             mp_msg(MSGT_VO, MSGL_WARN,
                    "Shared memory error,disabling ( Ximage error )\n");
             goto shmemerror;