From: Ken Steele Date: Tue, 12 Aug 2014 23:57:41 +0000 (-0400) Subject: Fix compiler warning about uninitialized variable in mpipe. X-Git-Tag: suricata-2.1beta2~172 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdcc7d18e7d9eea2ccf89f5b0b7a8b69321ef466;p=thirdparty%2Fsuricata.git Fix compiler warning about uninitialized variable in mpipe. --- diff --git a/src/source-mpipe.c b/src/source-mpipe.c index f9e8b176da..a727846367 100644 --- a/src/source-mpipe.c +++ b/src/source-mpipe.c @@ -540,7 +540,7 @@ static TmEcode ReceiveMpipeAllocatePacketBuffers(void) unsigned long available_pagesizes = tmc_alloc_get_pagesizes(); void *packet_page = NULL; - size_t tile_vhuge_size; + size_t tile_vhuge_size = 64 * 1024; /* Try the largest available page size first to see if any * pages of that size can be allocated. */