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.0.5~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1159%2Fhead;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 0a7a669a0e..1744c484fe 100644 --- a/src/source-mpipe.c +++ b/src/source-mpipe.c @@ -541,7 +541,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. */