You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2011/05/07 14:43:36 UTC
svn commit: r1100523 - /subversion/trunk/subversion/svnadmin/main.c
Author: stefan2
Date: Sat May 7 12:43:36 2011
New Revision: 1100523
URL: http://svn.apache.org/viewvc?rev=1100523&view=rev
Log:
Fix an "unreachable code" warning introduced in r1096150.
* subversion/svnadmin/main.c
(subcommand_crashtest): use SVN_ERR_MALFUNCTION instead of abort()
Found by: hwright
Suggested by: rhuiben
Modified:
subversion/trunk/subversion/svnadmin/main.c
Modified: subversion/trunk/subversion/svnadmin/main.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/svnadmin/main.c?rev=1100523&r1=1100522&r2=1100523&view=diff
==============================================================================
--- subversion/trunk/subversion/svnadmin/main.c (original)
+++ subversion/trunk/subversion/svnadmin/main.c Sat May 7 12:43:36 2011
@@ -2000,7 +2000,7 @@ subcommand_crashtest(apr_getopt_t *os, v
svn_repos_t *repos;
SVN_ERR(open_repos(&repos, opt_state->repository_path, pool));
- abort();
+ SVN_ERR_MALFUNCTION();
/* merely silence a compiler warning (this will never be executed) */
return SVN_NO_ERROR;