diff options
| author | Mark Young <marky@lunarg.com> | 2018-02-21 15:30:27 -0700 |
|---|---|---|
| committer | Mike Schuchardt <mikes@lunarg.com> | 2018-03-09 13:54:31 -0700 |
| commit | d5d65b2ed1d7c883f04749778363fadc444e040d (patch) | |
| tree | 93f9e195b1cf2aa8c02830e022f5d79e622dc288 /scripts | |
| parent | 4421268b078ed8e2a5d536c2da86173604207798 (diff) | |
| download | usermoji-d5d65b2ed1d7c883f04749778363fadc444e040d.tar.xz | |
helper: Fix compilation warning
Adding vk_enum_string_helper.h produced a warning that
GetPhysDevFeatureString was unused. Made it inline (as all
the other commands are in that header) and it made the compiler
happy.
Change-Id: I9452ddfc8de4af4c88b95e380b9520d9f59796da
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/helper_file_generator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/helper_file_generator.py b/scripts/helper_file_generator.py index 2cbcf8e2..7e0876d8 100644 --- a/scripts/helper_file_generator.py +++ b/scripts/helper_file_generator.py @@ -388,7 +388,7 @@ class HelperFileOutputGenerator(OutputGenerator): pdev_members = members break deindex = '\n' - deindex += 'static const char * GetPhysDevFeatureString(uint32_t index) {\n' + deindex += 'static inline const char * GetPhysDevFeatureString(uint32_t index) {\n' deindex += ' const char * IndexToPhysDevFeatureString[] = {\n' for feature in pdev_members: deindex += ' "%s",\n' % feature.name |
