code clean up for cjson
This commit is contained in:
parent
54004a4beb
commit
4d3c1a930f
|
@ -29,18 +29,6 @@
|
||||||
|
|
||||||
#include "strbuf.h"
|
#include "strbuf.h"
|
||||||
|
|
||||||
// static void die(const char *fmt, ...)
|
|
||||||
// {
|
|
||||||
// va_list arg;
|
|
||||||
|
|
||||||
// va_start(arg, fmt);
|
|
||||||
// vfprintf(stderr, fmt, arg);
|
|
||||||
// va_end(arg);
|
|
||||||
// fprintf(stderr, "\n");
|
|
||||||
|
|
||||||
// exit(-1);
|
|
||||||
// }
|
|
||||||
|
|
||||||
int strbuf_init(strbuf_t *s, int len)
|
int strbuf_init(strbuf_t *s, int len)
|
||||||
{
|
{
|
||||||
int size;
|
int size;
|
||||||
|
|
Loading…
Reference in New Issue