Fix warning and make Cppcheck quiet again

This commit is contained in:
nsubiron 2018-01-09 16:23:50 +01:00
parent 80a3c26cab
commit e1847f2001
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -102,7 +102,7 @@ private:
USceneComponent *SceneRootComponent;
UPROPERTY(Category = "Map Generation", VisibleAnywhere)
float MapScale;
float MapScale = 1.0f;
UPROPERTY(Category = "Meshes", EditAnywhere)
TMap<ECityMapMeshTag, UStaticMesh *> StaticMeshes;