Philip Martin wrote:
> jszakmeister@tigris.org writes:
>
>
>>Author: jszakmeister
>>Date: Sat Dec 4 20:32:42 2004
>>New Revision: 12157
>
>
>>+
>>+ utf8_error:
>>+ if (error_stream)
>>+ fprintf (error_stream, "Can't convert module path to UTF-8");
>>+ return EXIT_FAILURE;
>> }
>
>
> ../svn/subversion/libsvn_subr/cmdline.c: In function `svn_cmdline_init':
> ../svn/subversion/libsvn_subr/cmdline.c:224: warning: label `utf8_error' defined but not used
Let me try this again. :-/
-John
Index: subversion/libsvn_subr/cmdline.c
===================================================================
--- subversion/libsvn_subr/cmdline.c (revision 12158)
+++ subversion/libsvn_subr/cmdline.c (working copy)
@@ -199,7 +199,12 @@
if (!apr_err && (inwords > 0 || outbytes == 0))
apr_err = APR_INCOMPLETE;
if (apr_err)
- goto utf8_error;
+ {
+ utf8_error:
+ if (error_stream)
+ fprintf (error_stream, "Can't convert module path to UTF-8");
+ return EXIT_FAILURE;
+ }
utf8_path[outlength - outbytes] = '\0';
internal_path = svn_path_internal_style (utf8_path, pool);
@@ -220,11 +225,6 @@
#endif
return EXIT_SUCCESS;
-
- utf8_error:
- if (error_stream)
- fprintf (error_stream, "Can't convert module path to UTF-8");
- return EXIT_FAILURE;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 6 00:40:02 2004