ossp-pkg/rc/rc_cliopt.c 1.14 -> 1.15
--- rc_cliopt.c 2002/08/01 15:22:58 1.14
+++ rc_cliopt.c 2003/05/26 16:03:57 1.15
@@ -178,9 +178,8 @@
try {
m_pszSecs = vectorCopy(pkszSecs);
}
- catch(Except) {
+ catch(Except)
rethrow;
- }
return(RC_THROW(RC_OK));
}
@@ -286,9 +285,8 @@
try { /* eating a new option */
clioptProcess(cliOpt, popt_getoptarg(m_Optcon));
}
- catch(Except) { /* Error condition probably deserves attention */
+ catch(Except) /* Error condition probably deserves attention */
rethrow;
- }
}
if (cliOpt < -1) { /* The option given was not found in the index */
@@ -314,9 +312,8 @@
clioptSetrcfile(popt_getarg(m_Optcon));
clioptSetsecs(popt_getargs(m_Optcon));
}
- catch(Except) {
+ catch(Except)
rethrow; /* Our generic response */
- }
return(RC_THROW(RC_OK));
}
@@ -338,9 +335,9 @@
/* free(s_pBintab);*/ /* Deallocate cliopt and */
/* s_pBintab = NULL;*/ /* clear its reference */
/* }
- catch(Except) {
+ catch(Except)
rethrow;
- }*/
+ */
popt_freecontext(m_Optcon); /* Free the popt context */
for (i = 0; i < RC_NUMOPTS; i++) { /* Free the tuples themselves */
|
|