From 30638bb110b2adf64057f9dbf893ab2d48f10e3e Mon Sep 17 00:00:00 2001 From: Brian McGroarty <soft@lindenlab.com> Date: Thu, 21 Aug 2008 13:22:47 +0000 Subject: [PATCH] Additional gcc warnings - no code effect --- indra/llcommon/llprocessor.h | 10 +++++----- indra/llrender/llrender.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/indra/llcommon/llprocessor.h b/indra/llcommon/llprocessor.h index 30bc14d6cee..f1764788861 100644 --- a/indra/llcommon/llprocessor.h +++ b/indra/llcommon/llprocessor.h @@ -58,7 +58,7 @@ #endif -typedef struct ProcessorExtensions +typedef struct { bool FPU_FloatingPointUnit; bool VME_Virtual8086ModeEnhancements; @@ -99,7 +99,7 @@ typedef struct ProcessorExtensions bool AA64_AMD64BitArchitecture; } ProcessorExtensions; -typedef struct ProcessorCache +typedef struct { bool bPresent; char strSize[32]; /* Flawfinder: ignore */ @@ -109,13 +109,13 @@ typedef struct ProcessorCache char strCache[128]; /* Flawfinder: ignore */ } ProcessorCache; -typedef struct ProcessorL1Cache +typedef struct { ProcessorCache Instruction; ProcessorCache Data; } ProcessorL1Cache; -typedef struct ProcessorTLB +typedef struct { bool bPresent; char strPageSize[32]; /* Flawfinder: ignore */ @@ -124,7 +124,7 @@ typedef struct ProcessorTLB char strTLB[128]; /* Flawfinder: ignore */ } ProcessorTLB; -typedef struct ProcessorInfo +typedef struct { char strVendor[16]; /* Flawfinder: ignore */ unsigned int uiFamily; diff --git a/indra/llrender/llrender.h b/indra/llrender/llrender.h index 2d512ab543c..7ad2bca27c4 100644 --- a/indra/llrender/llrender.h +++ b/indra/llrender/llrender.h @@ -213,12 +213,12 @@ class LLRender LLTexUnit* getTexUnit(U32 index); - typedef struct Vertex + typedef struct { GLfloat v[3]; GLubyte c[4]; GLfloat uv[2]; - }; + } Vertex; public: -- GitLab