X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fcreate.c;h=e1af8db8a9857915bad15ae00da77bc8da70029b;hb=38f08784bc95745e0c5e8308d098c3bc89cc9ba5;hp=7955e6b118bc9bb97e5648cc5da25ff1938618df;hpb=a169d65b94722c55b0daa20997a1cb02307159cf;p=chaz%2Ftar diff --git a/src/create.c b/src/create.c index 7955e6b..e1af8db 100644 --- a/src/create.c +++ b/src/create.c @@ -128,7 +128,6 @@ to_chars_subst (int negative, int gnu_format, uintmax_t value, size_t valsize, char const *minval_string; char const *maxval_string = STRINGIFY_BIGINT (maxval, maxbuf); char const *value_string; - char *p; if (gnu_format) { @@ -163,11 +162,12 @@ to_chars_subst (int negative, int gnu_format, uintmax_t value, size_t valsize, WARN ((0, 0, _("value %s out of %s range %s..%s; substituting %s"), value_string, type, minval_string, maxval_string, sub_string)); - to_chars (negsub, s, valsize, 0, where, size, type); + return to_chars (negsub, s, valsize, 0, where, size, type); } else ERROR ((0, 0, _("value %s out of %s range %s..%s"), value_string, type, minval_string, maxval_string)); + return false; } /* Convert NEGATIVE VALUE (which was originally of size VALSIZE) to