summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-13 20:01:38 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-10-13 20:01:38 +0000
commitb2a6fd5895d81b894fc2bfe61e94b861b96df168 (patch)
treee8e7aed67eacb443476670fc2594c8d9b09d8c70 /libvo
parentfcee7ea18f35dbcdad9e946bde05f64e1e0c9a31 (diff)
downloadmpv-b2a6fd5895d81b894fc2bfe61e94b861b96df168.tar.bz2
mpv-b2a6fd5895d81b894fc2bfe61e94b861b96df168.tar.xz
Remove dead code (condition can obviously never be true)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20202 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_x11.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/vo_x11.c b/libvo/vo_x11.c
index f2649ccb32..ece164c746 100644
--- a/libvo/vo_x11.c
+++ b/libvo/vo_x11.c
@@ -171,8 +171,6 @@ static void getMyXImage(void)
&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;