mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 16:10:29 +00:00
RmRemove warnings
svn path=/trunk/; revision=17609
This commit is contained in:
parent
9b308f9dbf
commit
45c69b6adb
8 changed files with 6 additions and 13 deletions
|
@ -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="ReactOS">include/wine</include>
|
||||||
<include base="dflat32">.</include>
|
<include base="dflat32">.</include>
|
||||||
<define name="__USE_W32API" />
|
<define name="__USE_W32API" />
|
||||||
|
|
|
@ -260,7 +260,6 @@ static void OpenPadWindow(DFWINDOW wnd, char *FileName,char *NewFileName)
|
||||||
DFWINDOW wwnd;
|
DFWINDOW wwnd;
|
||||||
struct stat sb;
|
struct stat sb;
|
||||||
char *Fname = FileName;
|
char *Fname = FileName;
|
||||||
char *Fnewname = NewFileName;
|
|
||||||
char *ermsg;
|
char *ermsg;
|
||||||
|
|
||||||
if (strcmp(FileName, Untitled))
|
if (strcmp(FileName, Untitled))
|
||||||
|
|
|
@ -21,7 +21,7 @@ static void sizeborder(DFWINDOW, int, int);
|
||||||
static int px = -1, py = -1;
|
static int px = -1, py = -1;
|
||||||
static int diff;
|
static int diff;
|
||||||
static struct DfWindow dwnd = {DF_DUMMY, NULL, DfNormalProc,
|
static struct DfWindow dwnd = {DF_DUMMY, NULL, DfNormalProc,
|
||||||
{-1,-1,-1,-1}};
|
{{-1},{-1},{-1},{-1}}};
|
||||||
static PCHAR_INFO Bsave;
|
static PCHAR_INFO Bsave;
|
||||||
static int Bht, Bwd;
|
static int Bht, Bwd;
|
||||||
BOOL DfWindowMoving;
|
BOOL DfWindowMoving;
|
||||||
|
|
|
@ -82,7 +82,7 @@ int main(int argc, char **argv)
|
||||||
strDesc = (LPSTR)++wstrName;
|
strDesc = (LPSTR)++wstrName;
|
||||||
|
|
||||||
if (!nAdapterCount) {
|
if (!nAdapterCount) {
|
||||||
printf("No Packet Adaptors found (%d)\n", AdapterLength);
|
printf("No Packet Adaptors found (%lu)\n", AdapterLength);
|
||||||
} else {
|
} else {
|
||||||
printf("Adaptor count: %d\n", nAdapterCount);
|
printf("Adaptor count: %d\n", nAdapterCount);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
<include base="niclist">.</include>
|
||||||
<define name="__USE_W32API" />
|
<define name="__USE_W32API" />
|
||||||
<define name="_WIN32_IE">0x0501</define>
|
<define name="_WIN32_IE">0x0501</define>
|
||||||
|
|
|
@ -254,7 +254,7 @@ main(
|
||||||
lint.QuadPart = -2000000;
|
lint.QuadPart = -2000000;
|
||||||
if( SetWaitableTimer( WaitableTimer, &lint, 200, NULL, NULL, FALSE ) == FALSE )
|
if( SetWaitableTimer( WaitableTimer, &lint, 200, NULL, NULL, FALSE ) == FALSE )
|
||||||
{
|
{
|
||||||
printf( "SetWaitableTimer() failed: %x\n", GetLastError() );
|
printf( "SetWaitableTimer() failed: 0x%lx\n", GetLastError() );
|
||||||
return 2;
|
return 2;
|
||||||
}
|
}
|
||||||
SetConsoleActiveScreenBuffer(ScreenBuffer);
|
SetConsoleActiveScreenBuffer(ScreenBuffer);
|
||||||
|
|
|
@ -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>
|
<include base="notevil">.</include>
|
||||||
<define name="__USE_W32API" />
|
<define name="__USE_W32API" />
|
||||||
<define name="_WIN32_IE">0x0501</define>
|
<define name="_WIN32_IE">0x0501</define>
|
||||||
|
|
|
@ -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[] = {
|
static TCHAR* items[] = {
|
||||||
_T("services"),
|
_T("services"),
|
||||||
_T("event log"),
|
_T("event log"),
|
||||||
|
|
Loading…
Reference in a new issue