Resolves issue 5690: accidentally skipping code in non-debug build.

This commit is contained in:
Eric Smith 2009-04-04 19:35:49 +00:00
parent a5809c84b3
commit b4a49f69b0
1 changed files with 2 additions and 2 deletions

View File

@ -692,7 +692,7 @@ format_int_or_long_internal(PyObject *value, const InternalFormatSpec *format,
#endif #endif
if (format->type == 'n') if (format->type == 'n')
#ifndef NDEBUG #ifndef NDEBUG
r = r =
#endif #endif
STRINGLIB_GROUPING_LOCALE(pstart, n_digits, n_digits, STRINGLIB_GROUPING_LOCALE(pstart, n_digits, n_digits,
spec.n_total+n_grouping_chars-n_leading_chars, spec.n_total+n_grouping_chars-n_leading_chars,
@ -700,10 +700,10 @@ format_int_or_long_internal(PyObject *value, const InternalFormatSpec *format,
else else
#ifndef NDEBUG #ifndef NDEBUG
r = r =
#endif
STRINGLIB_GROUPING(pstart, n_digits, n_digits, STRINGLIB_GROUPING(pstart, n_digits, n_digits,
spec.n_total+n_grouping_chars-n_leading_chars, spec.n_total+n_grouping_chars-n_leading_chars,
NULL, 0, "\3", ","); NULL, 0, "\3", ",");
#endif
assert(r); assert(r);
} }