Преглед на файлове

Some more fixes

Signed-off-by: Esteban Papp <[email protected]>
Esteban Papp преди 4 години
родител
ревизия
cd5df6b372
променени са 2 файла, в които са добавени 1 реда и са изтрити 3 реда
  1. 1 2
      Code/Editor/LogFile.cpp
  2. 0 1
      Gems/Atom/RPI/Code/Source/RPI.Builders/Model/MaterialAssetBuilderComponent.cpp

+ 1 - 2
Code/Editor/LogFile.cpp

@@ -183,13 +183,12 @@ void CLogFile::AboutSystem()
     //////////////////////////////////////////////////////////////////////
     // Write the system informations to the log
     //////////////////////////////////////////////////////////////////////
-
+    char szBuffer[MAX_LOGBUFFER_SIZE];
     //wchar_t szCPUModel[64];
     MEMORYSTATUS MemoryStatus;
 #endif // defined(AZ_PLATFORM_WINDOWS) || defined(AZ_PLATFORM_LINUX)
 
 #if defined(AZ_PLATFORM_WINDOWS)
-    char szBuffer[MAX_LOGBUFFER_SIZE];
     wchar_t szLanguageBufferW[64];
     DEVMODE DisplayConfig;
     OSVERSIONINFO OSVerInfo;

+ 0 - 1
Gems/Atom/RPI/Code/Source/RPI.Builders/Model/MaterialAssetBuilderComponent.cpp

@@ -253,7 +253,6 @@ namespace AZ
             }
 
             const auto& scene = context.m_scene;
-            const Uuid sourceSceneUuid = scene.GetSourceGuid();
             const auto& sceneGraph = scene.GetGraph();
 
             auto names = sceneGraph.GetNameStorage();