quote.c: silence compiler warnings from EMIT macro
Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <junkio@cox.net>maint
parent
8096fae726
commit
8dcaefb52f
2
quote.c
2
quote.c
|
@ -13,7 +13,7 @@
|
||||||
* a!b ==> a'\!'b ==> 'a'\!'b'
|
* a!b ==> a'\!'b ==> 'a'\!'b'
|
||||||
*/
|
*/
|
||||||
#undef EMIT
|
#undef EMIT
|
||||||
#define EMIT(x) ( (++len < n) && (*bp++ = (x)) )
|
#define EMIT(x) do { if (++len < n) *bp++ = (x); } while(0)
|
||||||
|
|
||||||
static inline int need_bs_quote(char c)
|
static inline int need_bs_quote(char c)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue