mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 00:41:36 +00:00
[ROSAPPS]
Fix GCC warnings svn path=/trunk/; revision=66714
This commit is contained in:
parent
f6ca509b09
commit
019895b42e
|
@ -66,6 +66,7 @@ ExecuteKill(char * lpPid)
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
char tail;
|
char tail;
|
||||||
|
DBG_UNREFERENCED_LOCAL_VARIABLE(tail);
|
||||||
|
|
||||||
if (argc < 2)
|
if (argc < 2)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2056,8 +2056,8 @@ static LRESULT CALLBACK FrameWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPARAM
|
||||||
switch(nmsg) {
|
switch(nmsg) {
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
if (Globals.saveSettings)
|
if (Globals.saveSettings)
|
||||||
save_registry_settings();
|
save_registry_settings();
|
||||||
|
|
||||||
DestroyWindow(hwnd);
|
DestroyWindow(hwnd);
|
||||||
|
|
||||||
/* clear handle variables */
|
/* clear handle variables */
|
||||||
|
@ -4278,7 +4278,7 @@ static BOOL show_frame(HWND hwndParent, int cmdshow, LPCWSTR path)
|
||||||
WS_CHILD|WS_CLIPCHILDREN|WS_VSCROLL|WS_HSCROLL|WS_VISIBLE|WS_BORDER,
|
WS_CHILD|WS_CLIPCHILDREN|WS_VSCROLL|WS_HSCROLL|WS_VISIBLE|WS_BORDER,
|
||||||
0, 0, 0, 0,
|
0, 0, 0, 0,
|
||||||
Globals.hMainWnd, 0, Globals.hInstance, &ccs);
|
Globals.hMainWnd, 0, Globals.hInstance, &ccs);
|
||||||
|
|
||||||
CheckMenuItem(Globals.hMenuOptions, ID_VIEW_DRIVE_BAR, MF_BYCOMMAND|MF_CHECKED);
|
CheckMenuItem(Globals.hMenuOptions, ID_VIEW_DRIVE_BAR, MF_BYCOMMAND|MF_CHECKED);
|
||||||
CheckMenuItem(Globals.hMenuOptions, ID_VIEW_SAVESETTINGS, MF_BYCOMMAND);
|
CheckMenuItem(Globals.hMenuOptions, ID_VIEW_SAVESETTINGS, MF_BYCOMMAND);
|
||||||
|
|
||||||
|
@ -4313,7 +4313,7 @@ static BOOL show_frame(HWND hwndParent, int cmdshow, LPCWSTR path)
|
||||||
|
|
||||||
#ifndef __WINE__
|
#ifndef __WINE__
|
||||||
/* Shell Namespace as default: */
|
/* Shell Namespace as default: */
|
||||||
child = alloc_child_window(path, get_path_pidl(path,Globals.hMainWnd), Globals.hMainWnd);
|
child = alloc_child_window(path, get_path_pidl((LPWSTR)path,Globals.hMainWnd), Globals.hMainWnd);
|
||||||
#else
|
#else
|
||||||
child = alloc_child_window(path, NULL, Globals.hMainWnd);
|
child = alloc_child_window(path, NULL, Globals.hMainWnd);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -276,6 +276,8 @@ ScreenWrite(
|
||||||
ULONG Columns, Rows;
|
ULONG Columns, Rows;
|
||||||
ULONG CursorX, CursorY;
|
ULONG CursorX, CursorY;
|
||||||
ULONG i, j;
|
ULONG i, j;
|
||||||
|
DBG_UNREFERENCED_LOCAL_VARIABLE(VideoMemory);
|
||||||
|
DBG_UNREFERENCED_LOCAL_VARIABLE(VideoMemorySize);
|
||||||
|
|
||||||
DPRINT("ScreenWrite() called\n");
|
DPRINT("ScreenWrite() called\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue