Don't declare now when not used.
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 26 Apr 2009 20:03:16 +0000 (20:03 +0000)
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 26 Apr 2009 20:03:16 +0000 (20:03 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28163 f5534014-38df-0310-8fa8-9805f1628bb7

pcapio.c

index ab4ef66e1962c35c54a9319b00e21690981d7548..d75bbee37394b741821ada62c47d2784ff88d92a 100644 (file)
--- a/pcapio.c
+++ b/pcapio.c
@@ -410,7 +410,9 @@ libpcap_write_interface_statistics_block(FILE *fp,
                                          int *err)
 {
        struct isb isb;
+#ifndef _WIN32
        struct timeval now;
+#endif
        struct option option;
        struct pcap_stat stats;
        guint32 block_total_length;