|
From: Todd D. P. <ci...@us...> - 2003-09-28 05:53:17
|
Log Message:
-----------
cleaned up some warnings
Modified Files:
--------------
/cvsroot/decaldev/source/Inject:
Inject.cpp
View.cpp
Revision Data
-------------
Index: Inject.cpp
===================================================================
RCS file: /cvsroot/decaldev/source/Inject/Inject.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- Inject.cpp 27 Sep 2003 05:29:10 -0000 1.30
+++ Inject.cpp 28 Sep 2003 02:06:58 -0000 1.31
@@ -163,7 +163,7 @@
pPatchesDoc.CreateInstance( __uuidof( MSXML::DOMDocument ) );
pPatchesDoc->async = false;
- bool bSuccess = pPatchesDoc->load( szPath );
+ bool bSuccess = (pPatchesDoc->load( szPath )) ? true : false;
if( bSuccess )
{
if( CheckClientVersion( pPatchesDoc ) )
Index: View.cpp
===================================================================
RCS file: /cvsroot/decaldev/source/Inject/View.cpp,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -d -r1.24 -r1.25
--- View.cpp 25 Sep 2003 19:50:11 -0000 1.24
+++ View.cpp 28 Sep 2003 02:06:58 -0000 1.25
@@ -442,6 +442,8 @@
return E_POINTER;
*pVal = m_VP.alpha;
+
+ return S_OK;
}
STDMETHODIMP cView::put_Alpha(long Alpha)
|