# HG changeset patch # User ib # Date 1395576630 0 # Node ID bd4f00c044a908fc546cc691fed9714c92ab4f1f # Parent 277be9e37ada218e3922414e528e52947150235d Remove unnecessary variable in Win32 GUI. Use guiInfo.sh_video instead. diff -r 277be9e37ada -r bd4f00c044a9 gui/win32/interface.c --- a/gui/win32/interface.c Sun Mar 23 12:05:32 2014 +0000 +++ b/gui/win32/interface.c Sun Mar 23 12:10:30 2014 +0000 @@ -634,8 +634,7 @@ guiInfo.sh_video = data; if (guiInfo.sh_video) { - sh_video_t *sh = data; - codecname = sh->codec->name; + codecname = guiInfo.sh_video->codec->name; /* we have video, show the video window */ if(!IsWindowVisible(mygui->videowindow) || IsIconic(mygui->videowindow))