diff options
author | Kent Sebastian <ksebasti@redhat.com> | 2008-12-05 11:45:35 -0500 |
---|---|---|
committer | Kent Sebastian <ksebasti@redhat.com> | 2008-12-05 11:45:35 -0500 |
commit | dd007c24b6c447e0b87a7a711191e88328028f5c (patch) | |
tree | 8aba98424b23981067a190eef9f3da26b97aa44b | |
parent | b58523345ea01d313672f6896b02b447b6d1d82a (diff) | |
download | systemtap-steved-dd007c24b6c447e0b87a7a711191e88328028f5c.tar.gz systemtap-steved-dd007c24b6c447e0b87a7a711191e88328028f5c.tar.xz systemtap-steved-dd007c24b6c447e0b87a7a711191e88328028f5c.zip |
Removed an unused variable left from printf %n (PR7051)
-rw-r--r-- | runtime/vsprintf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/vsprintf.c b/runtime/vsprintf.c index 408e140d..831b7a2b 100644 --- a/runtime/vsprintf.c +++ b/runtime/vsprintf.c @@ -136,7 +136,7 @@ int _stp_vsnprintf(char *buf, size_t size, const char *fmt, va_list args) int len; uint64_t num; int i, base; - char *start, *str, *end, c; + char *str, *end, c; const char *s; enum print_flag flags; /* flags to number() */ int field_width; /* width of output field */ @@ -148,7 +148,6 @@ int _stp_vsnprintf(char *buf, size_t size, const char *fmt, va_list args) if (unlikely((int) size < 0)) return 0; - start = buf; str = buf; end = buf + size - 1; |