projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acadb64
)
Fix annoying warning about wrbuf_putc YAZ-789
author
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 30 Sep 2014 13:51:59 +0000
(13:51 +0000)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Tue, 30 Sep 2014 13:51:59 +0000
(13:51 +0000)
include/yaz/wrbuf.h
patch
|
blob
|
history
diff --git
a/include/yaz/wrbuf.h
b/include/yaz/wrbuf.h
index
1d4f83b
..
f5ebf1d
100644
(file)
--- a/
include/yaz/wrbuf.h
+++ b/
include/yaz/wrbuf.h
@@
-258,7
+258,7
@@
const char *wrbuf_cstr_null(WRBUF b);
#define wrbuf_putc(b, c) \
((void) ((b)->pos >= (b)->size ? wrbuf_grow(b, 1) : 0), \
- (b)->buf[(b)->pos++] = (c), 0)
+ (b)->buf[(b)->pos++] = (c))
/** \brief writes JSON text to WRBUF with escaping