From e1f802b11a139a25060116e581e6e08bf8f7a787 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Mon, 30 Sep 2002 16:49:44 +0200 Subject: [PATCH] (sexp_format): Don't mix code and declarations. Rev: src/nettle/sexp_format.c:1.3 --- sexp_format.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sexp_format.c b/sexp_format.c index d0519436..2480613c 100644 --- a/sexp_format.c +++ b/sexp_format.c @@ -82,10 +82,10 @@ int sexp_format(struct nettle_buffer *buffer, const char *format, ...) { va_list args; - va_start(args, format); - unsigned nesting = 0; + va_start(args, format); + for (;;) switch (*format++) { -- GitLab