From e1847f2001b6da1092169e7d6529275edd7f85e7 Mon Sep 17 00:00:00 2001 From: nsubiron Date: Tue, 9 Jan 2018 16:23:50 +0100 Subject: [PATCH] Fix warning and make Cppcheck quiet again --- .travis.yml | 2 +- .../Plugins/Carla/Source/Carla/MapGen/CityMapMeshHolder.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 360dbf880..62d7b54af 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,4 +24,4 @@ matrix: packages: - cppcheck script: - - cppcheck Unreal/CarlaUE4/Source Unreal/CarlaUE4/Plugins/Carla/Source Util/ -iUtil/Build -iUtil/CarlaServer/source/carla/server/carla_server.pb.cc --error-exitcode=1 --enable=warning + - cppcheck Unreal/CarlaUE4/Source Unreal/CarlaUE4/Plugins/Carla/Source Util/ -iUtil/Build -iUtil/CarlaServer/source/carla/server/carla_server.pb.cc --quiet --error-exitcode=1 --enable=warning diff --git a/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/MapGen/CityMapMeshHolder.h b/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/MapGen/CityMapMeshHolder.h index ea646cf55..9cad7d854 100644 --- a/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/MapGen/CityMapMeshHolder.h +++ b/Unreal/CarlaUE4/Plugins/Carla/Source/Carla/MapGen/CityMapMeshHolder.h @@ -102,7 +102,7 @@ private: USceneComponent *SceneRootComponent; UPROPERTY(Category = "Map Generation", VisibleAnywhere) - float MapScale; + float MapScale = 1.0f; UPROPERTY(Category = "Meshes", EditAnywhere) TMap StaticMeshes;