From: Ari Johnson Date: Fri, 22 Apr 2011 22:28:29 +0000 (-0400) Subject: Fix two compiler warnings X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=8c4e3d56d6f28ff668d2be6bff936dbbeee53688;p=cobramush.git Fix two compiler warnings --- diff --git a/src/conf.c b/src/conf.c index 847e4e0..84a2c7d 100644 --- a/src/conf.c +++ b/src/conf.c @@ -884,7 +884,7 @@ append_restriction(const char *r, const char *what, const char *opts) get changed -- but it'll catch most cases. */ static void -save_config_option(COBRA_CONF *cp) +save_config_option(COBRA_CONF *cp __attribute__ ((__unused__))) { #if defined(HAVE_ED) FILE *ed; diff --git a/src/myssl.c b/src/myssl.c index 4f96c20..e521c8f 100644 --- a/src/myssl.c +++ b/src/myssl.c @@ -81,6 +81,7 @@ void shutdown_checkpoint(void); #include "myssl.h" #include "log.h" #include "parse.h" +#include "SFMT.h" #define MYSSL_RB 0x1 /**< Read blocked (on read) */ #define MYSSL_WB 0x2 /**< Write blocked (on write) */