diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 23:56:53 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2006-06-19 23:56:53 +0000 |
commit | c219de5d9a12340e52c55abdda5349449bc87100 (patch) | |
tree | d1394b86c4703dd0177c7d2e9b0b49df87988baf /cli_ure | |
parent | 027f53b7fa6aff2c04bf3fc545bfd03071eb848a (diff) |
INTEGRATION: CWS warnings01 (1.10.30); FILE MERGED
2006/02/28 12:49:09 sb 1.10.30.1: #i53898# Made code waring-free.
Diffstat (limited to 'cli_ure')
-rw-r--r-- | cli_ure/source/climaker/climaker_app.cxx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/cli_ure/source/climaker/climaker_app.cxx b/cli_ure/source/climaker/climaker_app.cxx index 82356cb18820..71d798871d9e 100644 --- a/cli_ure/source/climaker/climaker_app.cxx +++ b/cli_ure/source/climaker/climaker_app.cxx @@ -4,9 +4,9 @@ * * $RCSfile: climaker_app.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: rt $ $Date: 2005-09-08 02:00:36 $ + * last change: $Author: hr $ $Date: 2006-06-20 00:56:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -322,6 +322,9 @@ using namespace ::climaker; //############################################################################## SAL_IMPLEMENT_MAIN() { + (void) argc; // unused + (void) argv; // unused + sal_uInt32 nCount = osl_getCommandArgCount(); if (0 == nCount) { @@ -411,8 +414,11 @@ SAL_IMPLEMENT_MAIN() !read_argument( &keyfile, info_keyfile, &nPos ) && !read_argument( &delaySign, info_delaySign, &nPos )) { - oslProcessError rc = osl_getCommandArg( nPos, &cmd_arg.pData ); - OSL_ASSERT( rc == osl_Process_E_None ); + if ( osl_getCommandArg( nPos, &cmd_arg.pData ) != + osl_Process_E_None ) + { + OSL_ASSERT( false ); + } ++nPos; cmd_arg = cmd_arg.trim(); if (cmd_arg.getLength() > 0) |