On Mon, Dec 28, 2009 at 03:36:46PM +0100, Daniel Näslund wrote: > + /* If we're doing an 'svn export' the current dir will not be a > + working copy. We can't get the parent_dir. */ > + if (err && err->apr_err == SVN_ERR_WC_NOT_WORKING_COPY) > + { > + if (err->apr_err == SVN_ERR_WC_NOT_WORKING_COPY) > + {
You don't need to check err->apr_err twice. Stefan