diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-05-18 08:06:56 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-05-18 08:06:56 -0700 |
| commit | bb59d6ec029f3fb6e6ad82fb531a7edd348601b8 (patch) | |
| tree | 8c0f2cc0133d17181a767dcde5093f8b49326561 /mrbgems/mruby-sprintf | |
| parent | ac2adf347696c67507b3fef61a8d99852657abda (diff) | |
| parent | 8057eb935ca8f6cbe366dabebe183359611d9f4d (diff) | |
| download | mruby-bb59d6ec029f3fb6e6ad82fb531a7edd348601b8.tar.gz mruby-bb59d6ec029f3fb6e6ad82fb531a7edd348601b8.zip | |
Merge pull request #1257 from schmurfy/cleanup
removed unused variables / assigns never used
Diffstat (limited to 'mrbgems/mruby-sprintf')
| -rw-r--r-- | mrbgems/mruby-sprintf/src/sprintf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mrbgems/mruby-sprintf/src/sprintf.c b/mrbgems/mruby-sprintf/src/sprintf.c index fb577c1d0..55698d09f 100644 --- a/mrbgems/mruby-sprintf/src/sprintf.c +++ b/mrbgems/mruby-sprintf/src/sprintf.c @@ -1018,7 +1018,7 @@ retry: need = width; CHECK(need + 1); - n = snprintf(&buf[blen], need + 1, "%*s", need, ""); + snprintf(&buf[blen], need + 1, "%*s", need, ""); if (flags & FMINUS) { if (!isnan(fval) && fval < 0.0) buf[blen++] = '-'; |
