aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llwindow
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-04-06 21:47:13 +1000
committerDavid Walter Seikel2013-04-06 21:47:13 +1000
commitba982c0575515a8524d5044f928cd336303f807c (patch)
tree7044c629d59d89e5b8e896914097ccc5de619975 /linden/indra/llwindow
parentAnd actually add the new files for MOAP radar (diff)
downloadmeta-impy-ba982c0575515a8524d5044f928cd336303f807c.zip
meta-impy-ba982c0575515a8524d5044f928cd336303f807c.tar.gz
meta-impy-ba982c0575515a8524d5044f928cd336303f807c.tar.bz2
meta-impy-ba982c0575515a8524d5044f928cd336303f807c.tar.xz
Clean up some compiler warnings. More to come.
Diffstat (limited to 'linden/indra/llwindow')
-rw-r--r--linden/indra/llwindow/GL/glh_extensions.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/llwindow/GL/glh_extensions.h b/linden/indra/llwindow/GL/glh_extensions.h
index 5b149c9..ce2865b 100644
--- a/linden/indra/llwindow/GL/glh_extensions.h
+++ b/linden/indra/llwindow/GL/glh_extensions.h
@@ -111,7 +111,9 @@ static const char* EatNonWhiteSpace(const char *str)
111int glh_init_extensions(const char *origReqExts) 111int glh_init_extensions(const char *origReqExts)
112{ 112{
113 // Length of requested extensions string 113 // Length of requested extensions string
114 /*
114 unsigned reqExtsLen; 115 unsigned reqExtsLen;
116 */
115 char *reqExts; 117 char *reqExts;
116 // Ptr for individual extensions within reqExts 118 // Ptr for individual extensions within reqExts
117 char *reqExt; 119 char *reqExt;
@@ -153,8 +155,8 @@ int glh_init_extensions(const char *origReqExts)
153 return TRUE; 155 return TRUE;
154 } 156 }
155 reqExts = strdup(origReqExts); 157 reqExts = strdup(origReqExts);
156 reqExtsLen = (S32)strlen(reqExts);
157 /* 158 /*
159 reqExtsLen = (S32)strlen(reqExts);
158 if (NULL == gGLHExts.mUnsupportedExts) 160 if (NULL == gGLHExts.mUnsupportedExts)
159 { 161 {
160 gGLHExts.mUnsupportedExts = (char*)malloc(reqExtsLen + 1); 162 gGLHExts.mUnsupportedExts = (char*)malloc(reqExtsLen + 1);