]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Fix compiler warning about uninitialized variable in mpipe. 1159/head
authorKen Steele <ken@tilera.com>
Tue, 12 Aug 2014 23:57:41 +0000 (19:57 -0400)
committerVictor Julien <victor@inliniac.net>
Wed, 8 Oct 2014 11:54:36 +0000 (13:54 +0200)
src/source-mpipe.c

index 0a7a669a0e7e36f325ad218f6204c327331d6c53..1744c484fe51b0debe0d3d931ab91f468a01826d 100644 (file)
@@ -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. */