kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 12c07b79e63908effa22bf583418f8242f98e39d
parent 6eec8166c66c21c84b9a410654db89c1ca558886
Author: Joris Vink <joris@coders.se>
Date:   Wed,  4 Feb 2015 19:40:49 +0100

Kill a warning when building with BENCHMARK

Diffstat:
src/cli.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/cli.c b/src/cli.c @@ -171,6 +171,7 @@ static const char *config_data = "\tstatic\t/\tpage\n" "}\n"; +#if !defined(KORE_BENCHMARK) static const char *dh2048_data = "-----BEGIN DH PARAMETERS-----\n" "MIIBCAKCAQEAn4f4Qn5SudFjEYPWTbUaOTLUH85YWmmPFW1+b5bRa9ygr+1wfamv\n" @@ -180,6 +181,7 @@ static const char *dh2048_data = "Bzy9fYgnUlJ82g/bziCI83R2xAdtH014fR63MpElkqdNeChb94pPbEdFlNUvYIBN\n" "xx2vTUQMqRbB4UdG2zuzzr5j98HDdblQ+wIBAg==\n" "-----END DH PARAMETERS-----"; +#endif static const char *gitignore_data = "*.o\n.objs\n%s.so\nassets.h\ncert\n";