Unused variable.
authorBen Laurie <ben@openssl.org>
Sun, 1 Jul 2012 16:04:12 +0000 (16:04 +0000)
committerBen Laurie <ben@openssl.org>
Sun, 1 Jul 2012 16:04:12 +0000 (16:04 +0000)
crypto/bio/bss_dgram.c

index 00910ee65e7025ec13962e88d646673aee3f7c14..8990909971cadb2829738f84c014934774f1e453 100644 (file)
@@ -460,8 +460,8 @@ static long dgram_ctrl(BIO *b, int cmd, long num, void *ptr)
        int *ip;
        struct sockaddr *to = NULL;
        bio_dgram_data *data = NULL;
-       int sockopt_val = 0;
 #if defined(OPENSSL_SYS_LINUX) && (defined(IP_MTU_DISCOVER) || defined(IP_MTU))
+       int sockopt_val = 0;
        socklen_t sockopt_len;  /* assume that system supporting IP_MTU is
                                 * modern enough to define socklen_t */
        socklen_t addr_len;