Gerald Pfeifer : winecfg: Remove variable lRes which is not really used from configureAudioDriver.

Alexandre Julliard julliard at winehq.org
Fri May 14 11:17:27 CDT 2010


Module: wine
Branch: master
Commit: a8acdac7801290d937cc01ff89241eaa04a14a10
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a8acdac7801290d937cc01ff89241eaa04a14a10

Author: Gerald Pfeifer <gerald at pfeifer.com>
Date:   Fri May 14 03:03:36 2010 +0200

winecfg: Remove variable lRes which is not really used from configureAudioDriver.

---

 programs/winecfg/audio.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/programs/winecfg/audio.c b/programs/winecfg/audio.c
index 9f8a0a2..5cf2b34 100644
--- a/programs/winecfg/audio.c
+++ b/programs/winecfg/audio.c
@@ -124,11 +124,10 @@ static void configureAudioDriver(HWND hDlg)
             if (SendDriverMessage(hdrvr, DRV_QUERYCONFIGURE, 0, 0) != 0)
             {
                 DRVCONFIGINFO dci;
-                LONG lRes;
                 dci.dwDCISize = sizeof (dci);
                 dci.lpszDCISectionName = NULL;
                 dci.lpszDCIAliasName = NULL;
-                lRes = SendDriverMessage(hdrvr, DRV_CONFIGURE, 0, (LONG_PTR)&dci);
+                SendDriverMessage(hdrvr, DRV_CONFIGURE, 0, (LONG_PTR)&dci);
             }
             CloseDriver(hdrvr, 0, 0);
         }




More information about the wine-cvs mailing list