From 5b301e74ed324922263c44e18cb62ffc69d90b2b Mon Sep 17 00:00:00 2001 From: Ganesh Belgur Ramachandra Date: Wed, 27 Mar 2024 00:32:42 -0500 Subject: [PATCH] compiler,glsl: fix warning when -finstrument-functions is used MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Marek Olšák Part-of: --- src/compiler/glsl/ast_to_hir.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp index 0a748aa333e..3b371ba7af8 100644 --- a/src/compiler/glsl/ast_to_hir.cpp +++ b/src/compiler/glsl/ast_to_hir.cpp @@ -2707,6 +2707,8 @@ get_type_name_for_precision_qualifier(const glsl_type *type) default: unreachable("Unsupported type"); } /* base type */ + + return NULL; } static unsigned