Commit 665cacf4 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

ioctl: Initialize variable before use in ioctl_ReportAgid()

This silences a complaint from the MSVC code analyzer.
parent fe619aa0
......@@ -616,7 +616,7 @@ int ioctl_ReportAgid( int i_fd, int *pi_agid )
if( WIN2K ) /* NT/2k/XP */
{
ULONG id;
DWORD tmp;
DWORD tmp = 0;
i_ret = DeviceIoControl( (HANDLE) i_fd, IOCTL_DVD_START_SESSION,
&tmp, 4, &id, sizeof( id ), &tmp, NULL ) ? 0 : -1;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment