RmRemove warnings
authorHervé Poussineau <hpoussin@reactos.org>
Fri, 2 Sep 2005 21:13:10 +0000 (21:13 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Fri, 2 Sep 2005 21:13:10 +0000 (21:13 +0000)
svn path=/trunk/; revision=17609

rosapps/dflat32/dflat32.xml
rosapps/dflat32/edit.c
rosapps/dflat32/normal.c
rosapps/net/niclist/niclist.c
rosapps/net/niclist/niclist.xml
rosapps/notevil/notevil.c
rosapps/notevil/notevil.xml
rosapps/templates/dialog/page1.c

index d00e67f..2ddebba 100644 (file)
@@ -1,4 +1,4 @@
-<module name="dflat32" type="win32cui" installbase="system32" installname="edit.exe" warnings="true">
+<module name="dflat32" type="win32cui" installbase="system32" installname="edit.exe">
        <include base="ReactOS">include/wine</include>
        <include base="dflat32">.</include>
        <define name="__USE_W32API" />
index 6b5556d..e01c486 100644 (file)
@@ -260,7 +260,6 @@ static void OpenPadWindow(DFWINDOW wnd, char *FileName,char *NewFileName)
        DFWINDOW wwnd;
        struct stat sb;
        char *Fname = FileName;
-       char *Fnewname = NewFileName;
        char *ermsg;
 
        if (strcmp(FileName, Untitled))
index aeba2c3..148e0fc 100644 (file)
@@ -21,7 +21,7 @@ static void sizeborder(DFWINDOW, int, int);
 static int px = -1, py = -1;
 static int diff;
 static struct DfWindow dwnd = {DF_DUMMY, NULL, DfNormalProc,
-                                {-1,-1,-1,-1}};
+                                {{-1},{-1},{-1},{-1}}};
 static PCHAR_INFO Bsave;
 static int Bht, Bwd;
 BOOL DfWindowMoving;
index 485e5cf..ca4880d 100644 (file)
@@ -82,7 +82,7 @@ int main(int argc, char **argv)
     strDesc = (LPSTR)++wstrName;
 
        if (!nAdapterCount) {
-               printf("No Packet Adaptors found (%d)\n", AdapterLength);
+               printf("No Packet Adaptors found (%lu)\n", AdapterLength);
        } else {
            printf("Adaptor count: %d\n", nAdapterCount);
        }
index 08a7f83..6b721f2 100644 (file)
@@ -1,4 +1,4 @@
-<module name="niclist" type="win32cui" installbase="system32" installname="niclist.exe" warnings="true">
+<module name="niclist" type="win32cui" installbase="system32" installname="niclist.exe">
        <include base="niclist">.</include>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
index 166dd75..6723c09 100644 (file)
@@ -254,7 +254,7 @@ main(
        lint.QuadPart = -2000000;
        if( SetWaitableTimer( WaitableTimer, &lint, 200, NULL, NULL, FALSE ) == FALSE )
          {
-           printf( "SetWaitableTimer() failed: %x\n", GetLastError() );
+           printf( "SetWaitableTimer() failed: 0x%lx\n", GetLastError() );
            return 2;
          }
        SetConsoleActiveScreenBuffer(ScreenBuffer);
index 78a88ef..d87d605 100644 (file)
@@ -1,4 +1,4 @@
-<module name="notevil" type="win32cui" installbase="system32" installname="notevil.exe" warnings="true">
+<module name="notevil" type="win32cui" installbase="system32" installname="notevil.exe">
        <include base="notevil">.</include>
        <define name="__USE_W32API" />
        <define name="_WIN32_IE">0x0501</define>
index fdc2217..0826f3b 100644 (file)
@@ -42,12 +42,6 @@ HBITMAP hbmpOld;
 
 ////////////////////////////////////////////////////////////////////////////////
 
-static void AddItem(HWND hListBox, LPCTSTR lpstr, HBITMAP hbmp)
-{
-    int nItem = SendMessage(hListBox, LB_ADDSTRING, 0, (LPARAM)lpstr);
-    SendMessage(hListBox, LB_SETITEMDATA, nItem, (LPARAM)hbmp);
-}
-
 static TCHAR* items[] = {
     _T("services"),
     _T("event log"),