diff options
author | Sander Vesik <svesik@openoffice.org> | 2004-04-21 13:22:12 +0000 |
---|---|---|
committer | Sander Vesik <svesik@openoffice.org> | 2004-04-21 13:22:12 +0000 |
commit | dfd08e3f4f17835f0f981080f3db220c1320ab69 (patch) | |
tree | 0b8f7ead283c4522c0c8bee3539ef63fd2cdc97b /cpputools | |
parent | afd9a09c334e64f727875acf7e506a293585a26d (diff) |
INTEGRATION: CWS ooo20040329 (1.13.50); FILE MERGED
2004/03/17 09:35:16 waratah 1.13.50.1: #i1858# remove i that is a dummy statement,
Remove unused field s.
change the order of one of the definitions to quieten -Wall
Diffstat (limited to 'cpputools')
-rw-r--r-- | cpputools/source/registercomponent/registercomponent.cxx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/cpputools/source/registercomponent/registercomponent.cxx b/cpputools/source/registercomponent/registercomponent.cxx index 1a3ad20dac4b..ce60e97c0fa2 100644 --- a/cpputools/source/registercomponent/registercomponent.cxx +++ b/cpputools/source/registercomponent/registercomponent.cxx @@ -2,9 +2,9 @@ * * $RCSfile: registercomponent.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: rt $ $Date: 2003-04-23 16:18:34 $ + * last change: $Author: svesik $ $Date: 2004-04-21 14:22:12 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -58,7 +58,6 @@ * * ************************************************************************/ - #include <stdlib.h> #include <stdio.h> #include <string.h> @@ -230,8 +229,7 @@ sal_Bool parseOptions(int ac, char* av[], Options& rOptions, sal_Bool bCmdFile) } } - char *s=NULL; - for (i; i < ac; i++) + for (; i < ac; i++) { if (av[i][0] == '-') { @@ -542,10 +540,10 @@ DoIt::DoIt(sal_Bool bRegister, : _bRegister(bRegister), _bRevoke(bRevoke), _bSilent( bSilent ), - _xReg(xReg), _sRegName(sRegName), - _xImplRegistration(xImplRegistration), _sLoaderName(sLoaderName), + _xImplRegistration(xImplRegistration), + _xReg(xReg), _exitCode(exitCode) {} |