Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142902
b: refs/heads/master
c: 022624a
h: refs/heads/master
v: v3
  • Loading branch information
Zhaolei authored and Ingo Molnar committed Apr 8, 2009
1 parent 0b354d4 commit 8aa346f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ff96e612cba32510e263e17b213235fe5746397e
refs/heads/master: 022624a758dc9489388a99ad29577b4c8c09237c
16 changes: 0 additions & 16 deletions trunk/lib/vsprintf.c
Original file line number Diff line number Diff line change
Expand Up @@ -1051,13 +1051,6 @@ int vsnprintf(char *buf, size_t size, const char *fmt, va_list args)
if (str < end)
*str = '%';
++str;
if (*fmt) {
if (str < end)
*str = *fmt;
++str;
} else {
--fmt;
}
break;

case FORMAT_TYPE_NRCHARS: {
Expand Down Expand Up @@ -1339,8 +1332,6 @@ do { \
break;

case FORMAT_TYPE_INVALID:
if (!*fmt)
--fmt;
break;

case FORMAT_TYPE_NRCHARS: {
Expand Down Expand Up @@ -1523,13 +1514,6 @@ int bstr_printf(char *buf, size_t size, const char *fmt, const u32 *bin_buf)
if (str < end)
*str = '%';
++str;
if (*fmt) {
if (str < end)
*str = *fmt;
++str;
} else {
--fmt;
}
break;

case FORMAT_TYPE_NRCHARS:
Expand Down

0 comments on commit 8aa346f

Please sign in to comment.