From 1e7b692c77c8bdf55b1927a21231d45ba7acd726 Mon Sep 17 00:00:00 2001
From: "alexey.lysiuk" <alexey.lysiuk@gmail.com>
Date: Tue, 24 Oct 2017 15:22:16 +0300
Subject: [PATCH] Disabled annoying GCC compilation warnings in Travis config

These false positives could hide some real problem
---
 .travis.yml | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index ef4d7165b..17dcd24b7 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,7 +19,7 @@ matrix:
       compiler: gcc
       env:
         - GCC_VERSION=5
-        - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release"
+        - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-Wno-maybe-uninitialized"
       addons:
         apt:
           sources:
@@ -32,7 +32,7 @@ matrix:
       compiler: gcc
       env:
         - GCC_VERSION=6
-        - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=RelWithDebInfo"
+        - CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS=-Wno-maybe-uninitialized"
       addons:
         apt:
           sources:
@@ -45,6 +45,7 @@ matrix:
       compiler: gcc
       env:
         - GCC_VERSION=7
+        - CMAKE_OPTIONS="-DCMAKE_CXX_FLAGS=-Wno-implicit-fallthrough"
       addons:
         apt:
           sources: