Kaydet (Commit) 1f7d1607 authored tarafından Oliver Bolte's avatar Oliver Bolte

INTEGRATION: CWS native76 (1.4.12); FILE MERGED

2007/01/11 06:25:27 lla 1.4.12.1: #i72675# warning free test code
üst f5b39b4e
......@@ -4,9 +4,9 @@
*
* $RCSfile: test_autoptr.cxx,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: obo $ $Date: 2006-09-17 03:47:18 $
* last change: $Author: obo $ $Date: 2007-01-22 14:34:34 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -98,9 +98,9 @@ void test_autoptr()
// ----------------------------------- Main -----------------------------------
#if (defined UNX) || (defined OS2)
int main( int argc, char* argv[] )
int main( int /* argc */ , char* /* argv */ [] )
#else
int _cdecl main( int argc, char* argv[] )
int _cdecl main( int /* argc*/ , char* /*argv*/ [] )
#endif
{
test_autoptr();
......
......@@ -4,9 +4,9 @@
*
* $RCSfile: test_filter.cxx,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: obo $ $Date: 2006-09-17 03:47:33 $
* last change: $Author: obo $ $Date: 2007-01-22 14:34:51 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -80,7 +80,7 @@ StringList splitNameAtDot(rtl::OString const& _sName)
{
StringList aList;
int nIndex = 0;
int nLastIndex = 0;
// int nLastIndex = 0;
while ((nIndex = _sName.indexOf(".")) != -1)
{
rtl::OString nValue;
......@@ -219,9 +219,9 @@ void test_name_longer_filter()
// ----------------------------------- Main -----------------------------------
#if (defined UNX) || (defined OS2)
int main( int argc, char* argv[] )
int main( int /* argc */ , char* /* argv */ [] )
#else
int _cdecl main( int argc, char* argv[] )
int _cdecl main( int /* argc */, char* /* argv */ [] )
#endif
{
test_normal_filter();
......
......@@ -4,9 +4,9 @@
*
* $RCSfile: test_ostringstream.cxx,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: obo $ $Date: 2006-09-17 03:48:08 $
* last change: $Author: obo $ $Date: 2007-01-22 14:35:24 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -54,7 +54,7 @@ public:
};
void TestFactoryRegistry::checkFunc(char* foo)
void TestFactoryRegistry::checkFunc(char* /* foo */ )
{
static int serialNumber = 1;
......@@ -64,7 +64,7 @@ void TestFactoryRegistry::checkFunc(char* foo)
std::cout << ost.str() << std::endl;
}
void TestFactoryRegistry::checkFunc2(char* foo)
void TestFactoryRegistry::checkFunc2(char* /* foo */)
{
static int serialNumber = 1;
......@@ -75,7 +75,7 @@ void TestFactoryRegistry::checkFunc2(char* foo)
std::cout << ost.str() << std::endl;
}
void TestFactoryRegistry::checkFunc3(char* foo)
void TestFactoryRegistry::checkFunc3(char* /* foo */)
{
static int serialNumber = 1;
......@@ -93,13 +93,13 @@ static TestFactoryRegistry c;
// ----------------------------------- Main -----------------------------------
#if (defined UNX) || (defined OS2)
int main( int argc, char* argv[] )
int main( int /* argc */ , char* /* argv */ [] )
#else
int _cdecl main( int argc, char* argv[] )
int _cdecl main( int /* argc */, char* /* argv */ [] )
#endif
{
std::ostringstream ost;
sal_Int32 nValue = 1;
// sal_Int32 nValue = 1;
// ost << "@Dummy@" << nValue;
// ost << "dec: " << 15 << std::hex << " hex: " << 15 << std::endl;
......
......@@ -4,9 +4,9 @@
*
* $RCSfile: test_printf.cxx,v $
*
* $Revision: 1.4 $
* $Revision: 1.5 $
*
* last change: $Author: obo $ $Date: 2006-09-17 03:48:37 $
* last change: $Author: obo $ $Date: 2007-01-22 14:37:38 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
......@@ -56,9 +56,9 @@ void t_print(const char* _pFormatStr, ...)
// ----------------------------------- Main -----------------------------------
#if (defined UNX) || (defined OS2)
int main( int argc, char* argv[] )
int main( int /* argc */ , char* /* argv */ [] )
#else
int _cdecl main( int argc, char* argv[] )
int _cdecl main( int /* argc */ , char* /* argv */ [] )
#endif
{
std::string sStr("TestString.");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment