ICU-4384 Remove C++ comments from C code.
X-SVN-Rev: 23187
This commit is contained in:
parent
954b20fce6
commit
eeaec865a4
@ -248,7 +248,7 @@ u_vsnprintf_u(UChar *buffer,
|
|||||||
/* Release the cloned bundle, if we cloned it. */
|
/* Release the cloned bundle, if we cloned it. */
|
||||||
u_locbund_close(&outStr.fBundle);
|
u_locbund_close(&outStr.fBundle);
|
||||||
|
|
||||||
// parsing error
|
/* parsing error */
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
@ -1091,7 +1091,7 @@ ufmt_args* parseArguments(const UChar *alias, va_list ap) {
|
|||||||
islonglong = (UBool*)uprv_malloc(sizeof(UBool) * size);
|
islonglong = (UBool*)uprv_malloc(sizeof(UBool) * size);
|
||||||
arglist = (ufmt_args*)uprv_malloc(sizeof(ufmt_args) * size);
|
arglist = (ufmt_args*)uprv_malloc(sizeof(ufmt_args) * size);
|
||||||
|
|
||||||
// If malloc failed, return NULL
|
/* If malloc failed, return NULL */
|
||||||
if (!typelist || !islonglong || !arglist) {
|
if (!typelist || !islonglong || !arglist) {
|
||||||
if (typelist) {
|
if (typelist) {
|
||||||
uprv_free(typelist);
|
uprv_free(typelist);
|
||||||
@ -1224,7 +1224,7 @@ u_printf_parse(const u_printf_stream_handler *streamHandler,
|
|||||||
/* get the parsed list of argument types */
|
/* get the parsed list of argument types */
|
||||||
arglist = parseArguments(orgAlias, ap);
|
arglist = parseArguments(orgAlias, ap);
|
||||||
|
|
||||||
// Return error if parsing failed.
|
/* Return error if parsing failed. */
|
||||||
if (arglist == -1) {
|
if (arglist == -1) {
|
||||||
return arglist;
|
return arglist;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user