Merge pull request #1240 from asuessenbach/void

Explicitly ignore the result of a call to std::system().
This commit is contained in:
Andreas Süßenbach 2022-03-14 14:55:44 +01:00 committed by GitHub
commit 96b7bde8d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16545,7 +16545,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
#if defined( CLANG_FORMAT_EXECUTABLE ) #if defined( CLANG_FORMAT_EXECUTABLE )
std::cout << "VulkanHppGenerator: Formatting using "; std::cout << "VulkanHppGenerator: Formatting using ";
std::string commandString = "\"" CLANG_FORMAT_EXECUTABLE "\" --version "; std::string commandString = "\"" CLANG_FORMAT_EXECUTABLE "\" --version ";
std::system( commandString.c_str() ); (void)std::system( commandString.c_str() );
#endif #endif
std::cout << "VulkanHppGenerator: Parsing " << filename << std::endl; std::cout << "VulkanHppGenerator: Parsing " << filename << std::endl;