summaryrefslogtreecommitdiffstats
path: root/source/core
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2023-05-05 22:21:30 +0800
committerGitHub <noreply@github.com>2023-05-05 10:21:30 -0400
commite69c23e596baf082d928bd18dc364ea6f846c457 (patch)
treea2f2463cb1f2e73a2e26c0641625c8ef51d79c11 /source/core
parent662ef3ed90cd96435c05096c50f3486a1a6e9d18 (diff)
Squash a couple of warnings on clang (#2870)
* Squash a couple of warnings on clang Redisable -Wunused-local-typedefs * unused variable
Diffstat (limited to 'source/core')
-rw-r--r--source/core/slang-type-text-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/slang-type-text-util.h b/source/core/slang-type-text-util.h
index cf146fb46..219dcd5f2 100644
--- a/source/core/slang-type-text-util.h
+++ b/source/core/slang-type-text-util.h
@@ -25,7 +25,7 @@ struct TypeTextUtil
SlangCompileTarget target; ///< The target
const char* extensions; ///< Comma delimited list of extensions associated with the target
const char* names; ///< Comma delimited list of names associated with the target. NOTE! First name is taken as the normal display name.
- const char* description; ///< Description, can be null
+ const char* description = nullptr; ///< Description, can be null
};
/// Get the compile target infos