From e27089ff23ed7e51674ae237418be262a40ab7c4 Mon Sep 17 00:00:00 2001 From: asuessenbach Date: Tue, 19 Jul 2022 10:33:51 +0200 Subject: [PATCH] Resolve warning/error on discarded return value in ArrayProxyNoTemporaries test. --- tests/ArrayProxyNoTemporaries/ArrayProxyNoTemporaries.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/ArrayProxyNoTemporaries/ArrayProxyNoTemporaries.cpp b/tests/ArrayProxyNoTemporaries/ArrayProxyNoTemporaries.cpp index 5cd23c4..26b3900 100644 --- a/tests/ArrayProxyNoTemporaries/ArrayProxyNoTemporaries.cpp +++ b/tests/ArrayProxyNoTemporaries/ArrayProxyNoTemporaries.cpp @@ -84,9 +84,6 @@ int main( int /*argc*/, char ** /*argv*/ ) { try { - // to prevent a warning on unreferenced function vk::getDispatchLoaderStatic, use just one arbitrary vk-function - vk::enumerateInstanceVersion(); - // nullptr_t fct( nullptr ); fctc( nullptr );