mirror of
https://github.com/reactos/reactos.git
synced 2025-05-18 16:51:18 +00:00
Fix more unused-but-set warnings.
svn path=/trunk/; revision=53759
This commit is contained in:
parent
5732c93800
commit
a60242cfe7
10 changed files with 17 additions and 12 deletions
|
@ -1089,9 +1089,9 @@ DlgProc(HWND hDlg,
|
|||
|
||||
case WM_NOTIFY:
|
||||
{
|
||||
INT idctrl;
|
||||
//INT idctrl;
|
||||
LPNMHDR pnmh;
|
||||
idctrl = (int)wParam;
|
||||
//idctrl = (int)wParam;
|
||||
pnmh = (LPNMHDR)lParam;
|
||||
if (//(pnmh->hwndFrom == pInfo->hSelf) &&
|
||||
(pnmh->idFrom == IDC_TAB) &&
|
||||
|
|
|
@ -943,6 +943,7 @@ process_bmpcache(STREAM s)
|
|||
in_uint8p(s, data, size);
|
||||
|
||||
DEBUG(("BMPCACHE(cx=%d,cy=%d,id=%d,idx=%d,bpp=%d,size=%d,pad1=%d,bufsize=%d,pad2=%d,rs=%d,fs=%d)\n", width, height, cache_id, cache_idx, bpp, size, pad1, bufsize, pad2, row_size, final_size));
|
||||
(void)pad1; (void)pad2;
|
||||
|
||||
bmpdata = (uint8 *) xmalloc(width * height * Bpp);
|
||||
|
||||
|
|
|
@ -169,14 +169,16 @@ CenterWindow(HWND hWnd)
|
|||
static BOOL
|
||||
IsVMwareCDInDrive(WCHAR *Drv)
|
||||
{
|
||||
#if CHECKDRIVETYPE
|
||||
static WCHAR Drive[4] = L"X:\\";
|
||||
#endif
|
||||
WCHAR Current;
|
||||
|
||||
*Drv = L'\0';
|
||||
for(Current = 'C'; Current <= 'Z'; Current++)
|
||||
{
|
||||
Drive[0] = Current;
|
||||
#if CHECKDRIVETYPE
|
||||
Drive[0] = Current;
|
||||
if(GetDriveType(Drive) == DRIVE_CDROM)
|
||||
{
|
||||
#endif
|
||||
|
|
|
@ -44,6 +44,7 @@ CsrProbeForRead(IN PVOID Address,
|
|||
Data = *Pointer;
|
||||
Pointer = (PUCHAR)((ULONG)Address + Length -1);
|
||||
Data = *Pointer;
|
||||
(void)Data;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
@ -45,6 +45,7 @@ list(APPEND SOURCE
|
|||
${CMAKE_CURRENT_BINARY_DIR}/browseui.def)
|
||||
|
||||
add_library(browseui SHARED ${SOURCE})
|
||||
allow_warnings(browseui)
|
||||
set_module_type(browseui win32dll UNICODE)
|
||||
|
||||
target_link_libraries(browseui
|
||||
|
|
|
@ -74,7 +74,7 @@ list(APPEND SOURCE
|
|||
${CMAKE_CURRENT_BINARY_DIR}/shell32.def)
|
||||
|
||||
add_library(shell32 SHARED ${SOURCE})
|
||||
|
||||
allow_warnings(shell32)
|
||||
set_module_type(shell32 win32dll UNICODE)
|
||||
|
||||
target_link_libraries(shell32
|
||||
|
|
|
@ -783,10 +783,10 @@ IoStreamingThread(
|
|||
LPVOID lpParameter)
|
||||
{
|
||||
DWORD Length;
|
||||
MMRESULT Result;
|
||||
//MMRESULT Result;
|
||||
LPIO_PACKET Packet = (LPIO_PACKET)lpParameter;
|
||||
|
||||
Result = SyncOverlappedDeviceIoControl(Packet->hDevice,
|
||||
/*Result = */ SyncOverlappedDeviceIoControl(Packet->hDevice,
|
||||
Packet->IoCtl,
|
||||
NULL,
|
||||
0,
|
||||
|
|
|
@ -878,13 +878,13 @@ SynchronizedDMusMPUWrite
|
|||
ASSERT(context->BytesRead);
|
||||
|
||||
PUCHAR pChar = PUCHAR(context->BufferAddress);
|
||||
NTSTATUS ntStatus,readStatus;
|
||||
NTSTATUS ntStatus; // , readStatus
|
||||
ntStatus = STATUS_SUCCESS;
|
||||
//
|
||||
// while we're not there yet, and
|
||||
// while we don't have to wait on an aligned byte (including 0)
|
||||
// (we never wait on a byte. Better to come back later)
|
||||
readStatus = DMusMPUInterruptServiceRoutine(InterruptSync,PVOID(context->Miniport));
|
||||
/*readStatus = */ DMusMPUInterruptServiceRoutine(InterruptSync,PVOID(context->Miniport));
|
||||
while ( (*(context->BytesRead) < context->Length)
|
||||
&& ( TryMPU(context->PortBase)
|
||||
|| (*(context->BytesRead)%3)
|
||||
|
@ -903,7 +903,7 @@ SynchronizedDMusMPUWrite
|
|||
break;
|
||||
}
|
||||
}
|
||||
readStatus = DMusMPUInterruptServiceRoutine(InterruptSync,PVOID(context->Miniport));
|
||||
/*readStatus = */ DMusMPUInterruptServiceRoutine(InterruptSync,PVOID(context->Miniport));
|
||||
return ntStatus;
|
||||
}
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@
|
|||
#define SND_ERR(...) do {} while ( 0 )
|
||||
#define SND_WARN(...) do {} while ( 0 )
|
||||
#define SND_TRACE(...) do {} while ( 0 )
|
||||
#define SND_ASSERT(condition) do {} while ( 0 )
|
||||
#define SND_ASSERT(condition) do {(void)(condition);} while ( 0 )
|
||||
#define DUMP_WAVEHDR_QUEUE(condition) do {} while ( 0 )
|
||||
#endif
|
||||
|
||||
|
|
|
@ -470,14 +470,14 @@ void _SEH_FASTCALL _SEHEnterFrame_f(_SEHPortableFrame_t * frame)
|
|||
|
||||
void _SEH_FASTCALL _SEHLeaveFrame_f(void)
|
||||
{
|
||||
_SEHPortableFrame_t * frame;
|
||||
/* _SEHPortableFrame_t * frame;
|
||||
|
||||
frame = _SEH_CONTAINING_RECORD
|
||||
(
|
||||
_SEHCurrentRegistration(),
|
||||
_SEHPortableFrame_t,
|
||||
SPF_Registration
|
||||
);
|
||||
); */
|
||||
|
||||
/* ASSERT(frame); */
|
||||
/* ASSERT(frame->SPF_TopTryLevel == NULL) */
|
||||
|
|
Loading…
Reference in a new issue