Skip to content

Commit 17f820d

Browse files
authored
Merge pull request #292 from sblondon/clean-remove-unused-variables
clean: remove unused variables
2 parents e0fc8d7 + 29f114c commit 17f820d

File tree

3 files changed

+0
-8
lines changed

3 files changed

+0
-8
lines changed

src/samples/gu/spharm/cube.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ int main(int argc, char* argv[])
131131
SceCtrlData pad;
132132
unsigned int buttonsold = 0;
133133
int rendermode = 0;
134-
int i = 0;
135134
int val = 0;
136135

137136
_DisableFPUExceptions();
@@ -180,8 +179,6 @@ int main(int argc, char* argv[])
180179

181180
while (!done)
182181
{
183-
unsigned int x,y;
184-
185182
sceGuStart(GU_DIRECT,list);
186183

187184
sceGuClearColor(0);

src/samples/gu/spharm/spharm.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,6 @@ extern unsigned char logo3_start[];
375375
unsigned char *logo2_temp;
376376
unsigned char *logo3_temp;
377377

378-
static int rendertype;
379-
380378
ScePspFVector3 columns[4] = {
381379
{ 0.707f, 0.707f, 0.0f }, // cos(a), sin(a), tx
382380
{ -0.707f, 0.707f, 0.0f }, // -sin(a), cos(a), ty

src/samples/gu/splinesurface/splinesurface.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,15 +118,12 @@ void setupSH()
118118
struct Vertex* vtx = vertices;
119119
struct Vertex* currvtx = vtx;
120120

121-
float du = (GU_PI*2) / GRID_WIDTH;
122121
float dh = 1.0f / GRID_WIDTH;
123122

124123
unsigned int i,j;
125124

126125
for (i = 0; i < GRID_WIDTH; ++i)
127126
{
128-
float u = i * du;
129-
130127
for (j = 0; j < GRID_HEIGHT; ++j)
131128
{
132129
currvtx->color = hsl2rgb(i * dh, 1.0f, 0.5f);

0 commit comments

Comments
 (0)