Author: tkreuzer
Date: Sat Mar 14 23:32:00 2015
New Revision: 66714
URL:
http://svn.reactos.org/svn/reactos?rev=66714&view=rev
Log:
[ROSAPPS]
Fix GCC warnings
Modified:
trunk/rosapps/applications/sysutils/kill/kill.c
trunk/rosapps/applications/winfile/winefile.c
trunk/rosapps/drivers/green/screen.c
Modified: trunk/rosapps/applications/sysutils/kill/kill.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/sysutils/kill…
==============================================================================
--- trunk/rosapps/applications/sysutils/kill/kill.c [iso-8859-1] (original)
+++ trunk/rosapps/applications/sysutils/kill/kill.c [iso-8859-1] Sat Mar 14 23:32:00 2015
@@ -66,6 +66,7 @@
int main(int argc, char *argv[])
{
char tail;
+ DBG_UNREFERENCED_LOCAL_VARIABLE(tail);
if (argc < 2)
{
Modified: trunk/rosapps/applications/winfile/winefile.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/applications/winfile/winef…
==============================================================================
--- trunk/rosapps/applications/winfile/winefile.c [iso-8859-1] (original)
+++ trunk/rosapps/applications/winfile/winefile.c [iso-8859-1] Sat Mar 14 23:32:00 2015
@@ -2056,8 +2056,8 @@
switch(nmsg) {
case WM_CLOSE:
if (Globals.saveSettings)
- save_registry_settings();
-
+ save_registry_settings();
+
DestroyWindow(hwnd);
/* clear handle variables */
@@ -4278,7 +4278,7 @@
WS_CHILD|WS_CLIPCHILDREN|WS_VSCROLL|WS_HSCROLL|WS_VISIBLE|WS_BORDER,
0, 0, 0, 0,
Globals.hMainWnd, 0, Globals.hInstance, &ccs);
-
+
CheckMenuItem(Globals.hMenuOptions, ID_VIEW_DRIVE_BAR, MF_BYCOMMAND|MF_CHECKED);
CheckMenuItem(Globals.hMenuOptions, ID_VIEW_SAVESETTINGS, MF_BYCOMMAND);
@@ -4313,7 +4313,7 @@
#ifndef __WINE__
/* 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
child = alloc_child_window(path, NULL, Globals.hMainWnd);
#endif
Modified: trunk/rosapps/drivers/green/screen.c
URL:
http://svn.reactos.org/svn/reactos/trunk/rosapps/drivers/green/screen.c?rev…
==============================================================================
--- trunk/rosapps/drivers/green/screen.c [iso-8859-1] (original)
+++ trunk/rosapps/drivers/green/screen.c [iso-8859-1] Sat Mar 14 23:32:00 2015
@@ -276,6 +276,8 @@
ULONG Columns, Rows;
ULONG CursorX, CursorY;
ULONG i, j;
+ DBG_UNREFERENCED_LOCAL_VARIABLE(VideoMemory);
+ DBG_UNREFERENCED_LOCAL_VARIABLE(VideoMemorySize);
DPRINT("ScreenWrite() called\n");