summaryrefslogtreecommitdiff
path: root/cli_ure
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-12 09:28:47 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-12 09:29:05 +0100
commitdf46ec0580b625efe8bd747bed54bc4d4d71f073 (patch)
treea493b2271919b09a4aa196cbe1d23d3c5a824869 /cli_ure
parent2d724f086f0ac9ee9a340610e0fa2c4fff110565 (diff)
osl_getCommandArg always returns osl_Process_E_None
Change-Id: I0ff1e44f17976fd3a3060d8ee7fe15d77c918b79
Diffstat (limited to 'cli_ure')
-rw-r--r--cli_ure/source/climaker/climaker_app.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/cli_ure/source/climaker/climaker_app.cxx b/cli_ure/source/climaker/climaker_app.cxx
index c39f4b917170..7d5b808949d4 100644
--- a/cli_ure/source/climaker/climaker_app.cxx
+++ b/cli_ure/source/climaker/climaker_app.cxx
@@ -344,11 +344,7 @@ SAL_IMPLEMENT_MAIN()
!read_argument( &keyfile, info_keyfile, &nPos ) &&
!read_argument( &delaySign, info_delaySign, &nPos ))
{
- if ( osl_getCommandArg( nPos, &cmd_arg.pData ) !=
- osl_Process_E_None )
- {
- OSL_ASSERT( false );
- }
+ osl_getCommandArg( nPos, &cmd_arg.pData );
++nPos;
cmd_arg = cmd_arg.trim();
if (cmd_arg.getLength() > 0)