mirror of https://github.com/mpv-player/mpv
Remove dead code (condition can obviously never be true)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20202 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fcee7ea18f
commit
b2a6fd5895
|
@ -171,8 +171,6 @@ static void getMyXImage(void)
|
||||||
&Shminfo[0], image_width, image_height);
|
&Shminfo[0], image_width, image_height);
|
||||||
if (myximage == NULL)
|
if (myximage == NULL)
|
||||||
{
|
{
|
||||||
if (myximage != NULL)
|
|
||||||
XDestroyImage(myximage);
|
|
||||||
mp_msg(MSGT_VO, MSGL_WARN,
|
mp_msg(MSGT_VO, MSGL_WARN,
|
||||||
"Shared memory error,disabling ( Ximage error )\n");
|
"Shared memory error,disabling ( Ximage error )\n");
|
||||||
goto shmemerror;
|
goto shmemerror;
|
||||||
|
|
Loading…
Reference in New Issue